Just to clarify things a bit, two different forms of orientation are
being discussed here.

The orientation changes that are triggered by emulator keys are
"gross" orientation of the device itself - primarily, is the screen in
portrait or landscape mode.  Because the screen will be laid out
differently for portrait vs. landscape orientations, this has direct
impact on the view system and your activities.  See
<http://code.google.com/android/reference/android/app/Activity.html#ConfigurationChanges>
for more information.

Finer-grained orientation changes, such as those that might come from
sensors such as an accelerometer, and do not immediately impact the
view system, are provided via the android.hardware.SensorManager and
android.hardware.SensorListener classes.

It is helpful to clarify which type you're interested in, as the
answers are quite different.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to