01-03-2011 04:18 AM
Friends..
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..?
Thanks
Aswathy
01-03-2011 05:00 AM
Hey,
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:
<autoOrients>false</autoOrients> <aspectRatio>landscape</aspectRatio>
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")]