title: How to detect volume up and down long pressed together?
body: <p>How to check if both volume up and volume down buttons are pressed together for few seconds in Android device ?</p>
  
  <p>And if pressed, I need to call a function. This detection should work if my application is installed in any android device. Any near solution will also do. </p>