> I assume it's [x, y, z]

No, those are not how orientation coordinates are given.

I think you want 
http://code.google.com/android/reference/android/hardware/SensorManager.html#SENSOR_ORIENTATION
As http://code.google.com/android/reference/android/hardware/SensorListener.html
said, see SensorManager for more information

Justin

On Aug 25, 10:10 am, Reto <[EMAIL PROTECTED]> wrote:
> Could one of the Googlers with access to a physical phone confirm the
> order of the axis values returned by the ononSensorChangedevent within the 
> SensorListener class?
>
> I assume it's [x, y, z]
>
> Where, for a device lying flat on its back on the table in front of me
> in portrait orientation:
> The X axis is out of the top of the device.
> The Y axis is out the left hand side.
> The Z axis is up out of the screen.
>
> Also, is that order the same for the Orientation Sensor (where each
> value is rotation on that axis) and the Accelerometer Sensor (where
> each value is acceleration in that direction)?
--~--~---------~--~----~------------~-------~--~----~
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