A simple introduction to using an android device accelerometer