Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
WebCreep
Posts: 236
Registered: ‎07-27-2012
My Device: BlaclBerry PlayBook 16gb, BlackBerry dev alpha
My Carrier: Airtel
Accepted Solution

config.xml

Can we use the config.xml which are given in sample app codes?

Please use plain text.
Developer
Developer
LBP
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: config.xml


WebCreep wrote:

Can we use the config.xml which are given in sample app codes?


IMO it depends on your use case and the functionality your app wants to use on the device (eg. phone/device identity, gps, shared folder, ...). Have a closer look to the config.xml documentation for WebWorks to put together the stuff needed/supported for your device and OS your request is referring to.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Please use plain text.
Developer
WebCreep
Posts: 236
Registered: ‎07-27-2012
My Device: BlaclBerry PlayBook 16gb, BlackBerry dev alpha
My Carrier: Airtel

Re: config.xml

ok now its done but the app when i install the app should not zoom if the user zooms and the app should be in landscape mode only

Please use plain text.
Developer
Developer
LBP
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: config.xml

Add the following piece of source to the head element in your index.htm(l) or whatevener your config.xml is pointing to in the content-tag:

 

<meta name="viewport" content="initial-scale=1.0, width=device-width, user-scalable=no, target-densitydpi=device-dpi" />

This will prevent scaling and zooming within the app.

 


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Please use plain text.
Developer
WebCreep
Posts: 236
Registered: ‎07-27-2012
My Device: BlaclBerry PlayBook 16gb, BlackBerry dev alpha
My Carrier: Airtel

Re: config.xml

Thank you lbp
Please use plain text.