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

Trusted Contributor
Posts: 112
Registered: ‎06-22-2013
My Device: blackberry z10
My Carrier: Airtel
Accepted Solution


How to lock the app orientation in potrait mode

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" />

Click the like button if you find my posts useful!