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

Adobe AIR Development

Posts: 23
Registered: ‎12-17-2010
My Device: Not Specified
My Carrier: Software Engineer

Playbook Orientation



We have developed an application for playbook.


Tested in Playbook simulator...works fine.

Now we want to do the orientation part.


Any guidelines available now?

How can we check the orientation in our  Simulator.


Any idea to move forward..?








Posts: 229
Registered: ‎08-14-2009
My Device: Bold 9900, DevAlpha A
My Carrier: Vodafone DE

Re: Playbook Orientation



at the moment the sim does not support another orientation besides landscape. Most people just lock their app's for landscape until the sim supports testing the other mode, or we'll get a real PB. To fix orientation for your app add:



to your -app.xml descriptor file. Llocate the <initialWindow> </initialWindow> tags. Add the following lines somewhere between the two tags to lock the screen in landscape mode. 


You can also do it in the root sprite parameter by doing. 


[SWF(height="1024", width="600", frameRate="30", backgroundColor="#000000")]




Willy R.
If my post solved your problem, make it easier for others to find by Accepting it as a solution or provide a Kudo if it was helpful for you. Thanks.