Does this still work? I don't see event value array lengths larger
than 3 ever.
From:
http://developer.android.com/reference/android/hardware/SensorListener.html#onSensorChanged(int,%20float[])
"
 IMPORTANT NOTE: The axis are swapped when the device's screen
orientation changes. To access the unswapped values, use indices 3, 4
and 5 in values[].
"
Thanks,
R.S
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to