In Android 2.3 we got three new sensor event types:

TYPE_GRAVITY
TYPE_LINEAR_ACCELERATION
TYPE_ROTATION_VECTOR

I assumed that this had something to do with the gyroscope
(TYPE_GYROSCOPE) but looking at the code it seems that TYPE_GRAVITY
and TYPE_LINEAR_ACCELERATION only uses the accelerometer, and
TYPE_ROTATION_VECTOR uses only the accelerometer and the compass.
http://www.google.co.in/codesearch/p?hl=en#uX1GffpyOZk/services/sensorservice

Is this just the default implementation whereas for instance Google
Nexus S also uses the gyroscope?

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to