Reputation: 120
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
Upvotes: 0
Views: 60
Reputation: 789
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/
Upvotes: 2