Learned to use Android Accelerometer.