Detect Shake Event in Android
Shake Detector in Android Example
Using Seismic shake detection