title: Android - Getting volume button long clicks
body: <p>Can someone please show me a code example about how to get a long click (2 sec for example) on the volume up hardware key?</p>
  
  <p>Thanks :)</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The class that i want to capture the long click with is a Service. How can i do that?</p>