As SDK DOC says : "Note: When the device is at rest, the output of the gravity sensor should be identical to that of the accelerometer. "
In my Galaxy tab 10.1(GT-P7510), those two are never equal. Valus from Sensor.TYPE_GRAVITY is reasonable because two axises read almost 0 and the other one is 9.8. Value from Sensor.TYPE_ACCELEROMETER is strange for there are 0.0 4.3 10.7 And the data from Sensor.TYPE_LINEAR_ACCELERATION is never 0 even I put the device steady at desk. But the relation between is good, for equation: acceleration = gravity + linear-acceleration is right from the data. Please help explain this, any help will be greatful... Need Your Help...Please... -- 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

