ANDROID API LINEAR
Android Linear Acceleration is intended to provide developers with code examples and an application to quickly test devices for an implementation of Sensor.TYPE_LINEAR_ACCELERATION. Some Android devices provide an implementation of linear acceleration with Sensor.TYPE_LINEAR_ACCELERATION and others do not. The implementation and performance of Sensor.TYPE_LINEAR_ACCELERATION varies from device to device. Some devices rely on only the acceleration sensor via low-pass filters or other methods. Devices equiped with a gyroscopes will fuse the acceleration sensor to provide an estimation of linear acceleration.
Almost all implementations of Sensor.TYPE_LINEAR_ACCELERATION are not ideal. The implementations succesfully isolate gravity from the acceleration under static conditions. However, while the device is actually under linear acceleration, the estimation tends to become skewed. This means that attempting to measure the acceleration of a vehicle, for instance, using Sensor.TYPE_LINEAR_ACCELERATION will result in measurements that are inaccurate.
Android Linear Acceleration allows you to visulize acceleration measurements. Plot acceleration data from all three axis in real-time. This data can be written to an external .CSV file, saved and then viewed on your favorite spreadsheet application at a later time.
Not all linear acceleration implementations are the same. Test linear acceleration implementations on multiple devices quickly. Compare a devices performance and decide if it up to expecations in a matter of seconds.