I've written an Andoid app that uses the hardware Volume buttons for another purpose.
It works fine if the app is running and visible, but when I turn the screen off or let it time out, the button clicks don't get into my handlers.
Does anyone know if there is a way to detect these button clicks when the screen is off?