Keysh Connectivity app for Android description
App for handling volume button presses. Works when the screen is off.
The handler is a shell script. Events are received in stdin and commands are expected in stdout.
You can toggle the flashlight, control playback, and more.
For an overview of the possibilities see GitHub examples.








