Android device shake detection.