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
New Contributor
hpat
Posts: 2
Registered: ‎06-19-2013
Accepted Solution

How to fix rotation in application like make application just open in land scrap mode only in Html5

 
Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 604
Registered: ‎10-01-2009
My Carrier: Bell

Re: How to fix rotation in application like make application just open in land scrap mode only in Html5

Hello,

 

You can set the following in your config.xml

 

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

 

There's more information available on our developer site -https://developer.blackberry.com/html5/documentation/code_sample_creating_a_bb_widget_config_documen...

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.