• you can monitor changes in acceleration using a Sensor Event
Listener.
• Register an implementation of SensorEventListener with the Sensor
Manager, using a Sensor object of type Sensor.TYPE_ACCELEROMETER
to request accelerometer updates.
• Example 4 shows how to register the default accelerometer using the
default update rate.