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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Contributor
yogeshwaran
Posts: 7
Registered: ‎03-06-2012
My Carrier: Vodafone
Accepted Solution

Lock screen orientation

How to lock screen orintation in a Blackberry 10 webworks applicaiton ? I want my app to stay in portrait mode always.

 

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 839
Registered: ‎04-12-2010
My Carrier: Bell

Re: Lock screen orientation

Check out the param/orientation config.xml element here:
https://developer.blackberry.com/html5/documentation/param_element.html
Please note that I will be unavailable between May 19th and June 4th. Sincere apologies for any delays during this time. I will do my best to follow-up as soon as I am able.

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Super Contributor
SumiGhosh
Posts: 307
Registered: ‎09-20-2011
My Carrier: Vodafone

Re: Lock screen orientation

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

Please use plain text.