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

Adobe AIR Development

Reply
Super Contributor
JeffLemon
Posts: 391
Registered: ‎01-13-2011
My Carrier: NA
Accepted Solution

Portrait on 4.5

In 4.5 my app is portrait, how can I get it back to landscape and stop in rotating on the device?

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Please use plain text.
Regular Contributor
yaddesign
Posts: 53
Registered: ‎04-28-2011
My Carrier: Not Specified

Re: Portrait on 4.5

There is a file called <your app>-app.xml. Open it and write 

<aspectRatio>landscape</aspectRatio>
<autoOrients>false</autoOrients>

 within the <initialWindow> tag.

 


Playbook App: Car Crash

 

 

Please use plain text.