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
neemliu
Posts: 45
Registered: ‎07-19-2013
My Device: BlackBerry Q5, Playbook, 9790,9800
Accepted Solution

How to set to lock app on landscape mode with already zoom.

I use webworks sdk, how to. lock your app on landscape mode with already zoom. ? Thanks
Developer
matizeitune
Posts: 366
Registered: ‎07-15-2013
My Device: blackberry Z10

Re: How to set to lock app on landscape mode with already zoom.

https://developer.blackberry.com/html5/documentation/working_with_config_xml_file_1866970_11.html

 

You should update this line

<param name="orientation"value="portrait"/>

If you find this information useful please click like --->
@mezeitune on twitter
Contributor
skyboss
Posts: 14
Registered: ‎04-26-2012
My Device: storm2 9550

Re: How to set to lock app on landscape mode with already zoom.

This is exactly what you need, it worked perfectly for me also.

 

https://developer.blackberry.com/html5/api/blackberry.app.html#.lockOrientation 

 

Dont forget to click on the 'Like' Button and 'Accept as solution' Button :Cool2: