title: How to listen volume key event in background of Android application?
body: <p>I'm making an application that run in background after install and do some task as volume down key is pressed at any point of time in Android. I have created a service of it but it doesn't listen to key event as application closes and run in background. Application is not for media player.</p>