Example of using Android accelerometer to detect a shake.
shake is hosted in the following web site
https://github.com/johnhiott/shake
If you think the Android project shake listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of shake.
Item | Value |
---|---|
Java File Count | 3 |
Minimum SDK Version | 16 |
Activity Count | 1 |
Required Permissions | android.permission.VIBRATE |
shake has the following Java source files.
com.oolcay.magicDecide.MainActivity.java com.oolcay.magicDecide.ShakeInterface.java com.oolcay.magicDecide.ShakeListener.java