Some Android apps generate a notification when the device\'s volume changes and some lock the volume. For the life of me, I cannot find out how that\'s done. Please, can s
You can capture volume/hardware key events by using accessibility service.
How to capture key events inside a service?