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
Highlighted
Trusted Contributor
Posts: 112
Registered: ‎06-22-2013
My Device: blackberry z10
My Carrier: Airtel
Accepted Solution

Orientation

How to lock the app orientation in potrait mode

Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: Orientation

In your config.xml

 

Pre BB 10

 

  <rimSmiley Surprisedrientation mode="portrait"/>
 
BB 10
 
  <feature id="blackberry.app">
    <param name="orientation" value="portrait" />
  </feature>
 



Click the like button if you find my posts useful!