Shake detector for Android devices.