title: Listen to volume up button and activate a process in android
body: <p>I want to keep listening to long press of volume up button in background when triggered I would like to get some process done. </p>
  
  <p>I am able to do this inside my application without any problem. I want to achieve the same when my application is not running - figured out service would be the best deal but I believe service can't listen to key events so what is the work around can I achieve the same in broadcast receiver? Can receiver run in background without the application running?</p>
  
  <p>Can somebody help me out with this please? </p>
  
  <p>Thanks!!</p>