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

Adobe AIR Development

Reply
Highlighted
Developer
Posts: 157
Registered: ‎12-16-2010
My Device: Torch 9800, PlayBook
My Carrier: I carry it myself
Accepted Solution

Force landscape on Dev Alpha

I loaded my app BAR which was created using SDK 2.0 onto Dev Alpha device and it runs in portrait mode while it should be fixed to landscape. On PlayBook it starts and stays in landscape while on Alpha it goes to portrait. Any clues what has changed?

----------
If you find this post helpful please "like" it and accept as a solution.
Developer
Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: Force landscape on Dev Alpha

I am not seeing this issue with my apps. Not sure what is causing it. (although technically I think the apps I tested were built on the 1.1SDK)


Read my thoughts on BlackBerry Development at news.ebscer.com
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

BB10: Force landscape on Dev Alpha

In your app.xml file set:

 

<aspectRatio>landscape</aspectRatio>