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
Regular Contributor
sandeshmsg
Posts: 64
Registered: ‎06-16-2011
My Device: bold 9000, playbook
My Carrier: vodafone
Accepted Solution

Turning off the screen orientation for my app .

[ Edited ]

Hello Sir/Ma'am,

 

Please tell me how can I disable the screen orientation as my app looks good horizontally . Thanks In Advance.

 

 

Regards,

Sandesh

Please use plain text.
Developer
praveen_rajan
Posts: 163
Registered: ‎05-06-2011
My Device: Playbook
My Carrier: Not Specified

Re: Turning off the screen orientation for my app .

This can be achieved by adding the below code to your config.xml file

 

<rim:orientation mode="landscape" />

 Please see the below link for more details. http://docs.blackberry.com/en/developers/deliverables/27280/Widget_element_834671_11.jsp

 

Please use plain text.
Regular Contributor
sandeshmsg
Posts: 64
Registered: ‎06-16-2011
My Device: bold 9000, playbook
My Carrier: vodafone

Re: Turning off the screen orientation for my app .

many thanks. Its working :smileyhappy:

Please use plain text.