Thursday, January 6, 2011

[android-developers] Orientation sensorLandscape on Froyo

Hi,

my app only runs in landscape but I would like to allow the reverse landscape
orientation (270°), which is supported by Froyo and up AFAICS.

The sensorLandscape screenOrienation is precisely what I need IIUC, but this is
only available as of Gingerbread.

Is there a way to achieve the same thing on Froyo?

I have tried playing with onConfigurationChanged() and
get/setRequestedOrientation(), but no success so far. I can only get the
straight landscape orientation, or the full sensor behaviour which may result in
portrait mode, and I need to avoid portrait.

--
Olivier

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate