11-10-2010 10:17 AM
Although I understand that a user-friendly application should allow its use in portrait or landscape orientation, I'd like to know if there is any kind of "rule" stating this.
My concern is that there are applications that simply don't work in a certain orientation, and if it can prevent it to be approved, etc...
Thanks
11-10-2010 10:52 AM
Very good question.
11-10-2010 11:03 AM
Hi,
RIM has been quite about these important points. I understand we're not working with a finished product yet, but at least the documents saying what to do will be great for now.
Regards
11-10-2010 02:58 PM
jtegen wrote:Very good question.
- Need to know what event to listen to and know the current orientaion of the device.
- Need to know if this is a feature that is required for App World acceptance.
- Probably goes along with a publish UI guide for the device (e.g. orientation aware, min size of buttons, power and memory low auto shutdown, app icon size.
- How to re-orient the simulator
- etc.
The orientation and events are standard AIR 2.5 API's. There's a specific orientation change event that is fired, but on Android I;ve found that listening for Event.RESIZE on the stage is the easiest and most reliable.
What I'm wondering is if the tablet even supports portrait mode at all, doesn't really seem like the OS UI would fit well.
11-10-2010 04:05 PM
I'd surprised if it doesn't have a portrait mode, although I agree it looks nicer in landscape.
You know something!? I didn't see *any* picture of the Playbook in portrait so far!!! I've just checked RIM's website, and googled images and all were in landscape. It might be true!
Regards!
11-10-2010 04:15 PM
Thanks for the insight on the stage resize event.
So the big question is, will the tablet rotate to portrait mode??
I would think that is in the plan since e-books will be available on the platform. It would be easier to read a book in portrait vs. current landscape.
The challenge to the community developers is to re-orient the GUI during the platfrom change.
11-10-2010 05:06 PM
I'm wondering if the AIR descriptor file will support:
<initialWindow>
<autoOrients>false</autoOrients>
<aspectRatio>landscape</aspectRatio>
</initialWindow>
for applications not requiring orientation repositioning.
11-10-2010 09:29 PM
Yes these xml attributes will be supported in the upcoming SDK versions
11-11-2010 09:40 PM
Just to complete de information, in today's webcast we've got confirmation that Playbook will support both portrait and landscape mode.
I have no idea about the simulator, though.
Regards