title: Hardware volume button not working on locked phone
body: <p>I am developing a simple app in which i am the counting of volume button press 3 times. If counter is equal to three then some action will happen.</p>
  
  <p>My problem is when i press the hardware volume button when phone is locked then <code>onReceive()</code> method of <code>BroadcastReceiver</code> is not called. Its working fine when phone is unlocked.</p>
  
  <p>Is there any way or trick that When i press volume up button in locked mode then my counter increase and vice versa.</p>