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
New Developer
Wailord
Posts: 47
Registered: ‎02-09-2011
My Carrier: N/A

Question about device orientation

So, both of my apps have auto-orientation disabled, and this works as expected - when I put the Simulator into portrait mode and select an app, it re-orients into landscape. However! If I then minimize my app and put the Simulator into portrait, my app is stretched to fit the new 600x1024 dimensions. I've got to assume that this is a bug (if my app is set to be landscape, it should always be landscape...), but I wanted to double check here first. Thanks guys!

----------------------------------------------------------------------------------
If you wanna give my Playbook app a look, that'd be pretty cool. :smileyhappy: It's easyTrans in the App World.
Please use plain text.
Developer
turtle-dev
Posts: 91
Registered: ‎01-26-2011
My Carrier: ---

Re: Question about device orientation

I say definitely a simulator bug.

~~~~~~~~~~~~~~~~~~~~
My PlayBook Apps
Please use plain text.
Developer
dtater
Posts: 158
Registered: ‎01-11-2010
My Carrier: Many :)

Re: Question about device orientation

i noticed this, too.  its a simulator bug.

- - - - - - - - - -
Please use plain text.
New Developer
ImagineChaos
Posts: 3
Registered: ‎03-02-2011

Re: Question about device orientation

Actually, if you slide trom the bottom right corner  of the bezel towards the center of the screen, it will change the orientation to portrait from landscape and vice-versa.

Please use plain text.
Developer
ahazdesigns
Posts: 152
Registered: ‎08-25-2010
My Carrier: Verizon

Re: Question about device orientation

Add an <aspectratio>landscape </aspectratio> in you app.XML file (Im pretty sure that fixes it on bb sim also)
Please use plain text.
Developer
berryawesome
Posts: 54
Registered: ‎12-22-2010

Re: Question about device orientation

Are you using the latest version of the simulator? I was having this same issues with previous versions of the simulator but not with the latest version. On 0.9.4, even if the simulator is running on portrait, when I click my app it switches to landscape (the correct orientation).

Please use plain text.
New Developer
Wailord
Posts: 47
Registered: ‎02-09-2011
My Carrier: N/A

Re: Question about device orientation

 


ahazdesigns wrote:
Add an <aspectratio>landscape </aspectratio> in you app.XML file (Im pretty sure that fixes it on bb sim also)

Actually, I have that in my XML file and it's still bugged out. I'm just banking on this being a Simulator issue.

 

----------------------------------------------------------------------------------
If you wanna give my Playbook app a look, that'd be pretty cool. :smileyhappy: It's easyTrans in the App World.
Please use plain text.
New Developer
Wailord
Posts: 47
Registered: ‎02-09-2011
My Carrier: N/A

Re: Question about device orientation

 


berryawesome wrote:

Are you using the latest version of the simulator? I was having this same issues with previous versions of the simulator but not with the latest version. On 0.9.4, even if the simulator is running on portrait, when I click my app it switches to landscape (the correct orientation).


Yeah, it switches, but if you go to your app, bring up the multitasking view, then swtich to portrait, it goes lame mode.

 

----------------------------------------------------------------------------------
If you wanna give my Playbook app a look, that'd be pretty cool. :smileyhappy: It's easyTrans in the App World.
Please use plain text.
Developer
berryawesome
Posts: 54
Registered: ‎12-22-2010

Re: Question about device orientation

[ Edited ]

lame mode indeed. It does the same thing to the browser app so it's got to be a bug. In any case, I hope apps scale better on the actual device because when in multitasking view (regardless of orientation) apps look like cr@p.

Please use plain text.
New Developer
Wailord
Posts: 47
Registered: ‎02-09-2011
My Carrier: N/A

Re: Question about device orientation

 


berryawesome wrote:

lame mode indeed. It does the same thing to the browser app so it's got to be a bug. In any case, I hope apps scale better on the actual device because when in multitasking view (regardless of orientation) apps look like cr@p.


 

Ah, I didn't bother to check the Browser. That all but confirms my suspicions, so there's one less thing I have to worry about...

----------------------------------------------------------------------------------
If you wanna give my Playbook app a look, that'd be pretty cool. :smileyhappy: It's easyTrans in the App World.
Please use plain text.