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
Posts: 2
Registered: ‎06-19-2013
My Device: Playbook and waiting for my Z10
Accepted Solution

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

 
BlackBerry Development Advisor
Posts: 626
Registered: ‎10-01-2009
My Device: Z10

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