So, how other applications achieve to lock the orientation when auto-
rotate screen is disabled, and use the sensor when it is enabled?
On May 27, 10:51 pm, Dianne Hackborn hack...@android.com wrote:
No the point of this config is to allow it to rotate with the sensor. The
user can still lock the screen to one orientation.
On Fri, May 27, 2011 at 2:28 AM, clemp6r clemplant...@gmail.com wrote:
Hi,
My Honeycomb app uses the sensorLandscape orientation. On my tablet,
when I uncheck the auto-rotate screen preference in the system
settings, my app continues using the sensor to detect which
orientation to use, instead of locking the 0° landscape orientation
(as some other apps do, like Youtube, Pulse, CNN, but not Market).
So, is there a way for my app to not use the sensor when auto-rotate
screen is disabled?
--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Dianne Hackborn
Android framework engineer
hack...@android.com
Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see and
answer them.
--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en