title: Guide to create code to unlock device
body: <p>I am developing an sensor based app to unlock &amp; lock device using sensors. 
  I am able to lock the device using Device Administrator API.</p>
  
  <p>But, Unfortunately I am unable to find any code to unlock the screen programmatically. I have searched over Google &amp; other Android Development sites too.
  Then, too I didn't find any solution.</p>
  
  <p>Tried several tricks like wakelock but it doesn't work for some devices &amp; eats battery
  Then, I tried KeyguardManager but it removes the lockscreen but not does not unlock the device</p>
  
  <p>I am trying to use Receiver for receive screen on/off events but I don't know how to make
  it</p>
  
  <p>Hope, Any one can help me</p>
  
  <p>I already had thorough search but no hopes</p>
  
  <p>Thanks in advance.</p>