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
Contributor
Posts: 10
Registered: ‎06-28-2011
My Device: none
My Carrier: none

Orientation differences between Playbook and BB10?

[ Edited ]

This is the first time that I have needed to lock orientation and I am finding that the playbook seems to need <aspectRatio>portrait</aspectRatio> in order to be wider than high (opposite to most devices).  Can others please confirm that this is correct.  Also, what will it be on the BB10 devices?  Thanks!

Contributor
Posts: 10
Registered: ‎06-28-2011
My Device: none
My Carrier: none

Re: Orientation differences between Playbook and BB10?

I think what it was in the end is that the default orientation is horizontal and that mixed me up.  So portrait is portrait and landscape is landscape but default is landscape not portrait as in most devices.

Developer
Posts: 210
Registered: ‎05-18-2009
My Device: NA
My Carrier: NA

Re: Orientation differences between Playbook and BB10?

Yeah,

 

I also found that orientation #'s returned by Flash were inverted going from PB to BB10

 

I gave up and just rewrote my apps with a 3 way switch.  If width > height, if height > width, if height=width.  That way, no matter what they do or what platform or device I build for its consistent (relatively).