Increase and decrease volume button on android device harware
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2874743/android-volume-buttons-used-in-my-application">Android - Volume Buttons used in my application</a>  </p>
</blockquote>



<p>how to know when the user presses the decrease and  increase volume  buttons on the android device hardware.
Thanks</p>
