Huge thanks to Florian Schulte for the Play Store illustrations.
Shaker is a 2d and 3d gesture detector, available for devices with Android 4.1 Jelly Bean and above.
Shaker allows you to define custom actions to perform whenever the user does a 3d or 2d gesture, and allows you to change these actions, create new gestures, download some additional modules for handling these actions, etc.
-Device Administrator (for turning the screen off)
-Wake lock (to turn the screen on when the user allows it)
-Sensors (to listen for gestures)