title: how to open activity on screen unlock in android?
body: <p>In the application,I am trying to a make activity show when user opens the  screen lock (screen unlock) and when activity finish user open screen lock activity run back.I am trying  </p>
  
  <blockquote>
    <p>Intent.ACTION_SCREEN_ON</p>
  </blockquote>
  
  <p>but it is not working properly. And I also used </p>
  
  <blockquote>
    <p>USER_PRESENT</p>
  </blockquote>
  
  <p>but I am not able get expected answer</p>
  
  <p>I tried to find on google but was unsuccessful ,so I am confused how to make this type please tell me fast.</p>