This library provides a easy way to detect a shake movement using the build-in accelerometer and fire a callback on the UI thread every times it happens.
'com.github.tbouron.shakedetector:library:1.0.0'
<dependency>
<groupId>com.github.tbouron.shakedetector</groupId>
<artifactId>library</artifactId>
<version>1.0.0</version>
</dependency>
<dependency org="com.github.tbouron.shakedetector" name="library" rev="1.0.0"/>
"com.github.tbouron.shakedetector", "library", "1.0.0"