Question

i look for my html5 app is always in landscape, i read this Change the Screen Orientation in Blackberry? and Blackberry Force Screen orientation but the solutions are presented for java development on platforms oldest, the current blackberry 10. I want to js +html5

Was it helpful?

Solution

This is done in the config.xml file. Just add this...

<feature id="blackberry.app"> <param name="orientation" value="landscape" /> </feature>

For more information you can visit the BlackBerry developer site which has a lot of docs, samples, and getting started guides.

http://developer.blackberry.com/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top