title: Voice command for screen unlock android
body: <p>I want to use voice command to screen unlock an android phone.</p>
  
  <p>I have tried the voice recognition sample code from android, but how do i integrate it to achieve this feature?</p>
  
  <p>I have some doubts,</p>
  
  <p>1) would i have to use service for this feature?</p>
  
  <p>2) when the phone screen is locked, can it have access to internet? (because google voice is using internet)</p>
  
  <p>3) I have looked through PowerManager class, but using which method can i invoke my voiceReconigtion activity when i pressed the Power button? (phone is in sleep,locked mode)</p>
  
  <p>Any guide or solution/feedback is much appreciated!</p>
  
  <p>Thank You</p>