Friday, 19 December 2014

Gravity Sensors in Android.

- Android 2.3 introduced the Gravity sensor.

- This isn't really a separate piece of hardware.It's a virtual sensor based on the accelerometers.

- In fact, this sensor uses logic similar to accelerometers to produce the gravity component of the forces acting on a device.

- The virtual sensor will take advantage of other hardware such as a gyroscope to help it
calculate gravity more accurately.

- The values array for this sensor reports gravity just like the accelerometer sensor reports its values. 

No comments:

Post a Comment