MOTION SENSORS
  The Android platform has several sensors for watch motion of a device. Most-Android-powered edvices have an accelerometer and many now include a gyroscope.Depending on the device, this software-based sensors can derive their of data either from the acceloremeter and magnetometer or from the gyroscope.