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
Intent.ACTION_SCREEN_ON
but it is not working properly. And I also used
USER_PRESENT
but I am not able get expected answer
I tried to find on google but was unsuccessful ,so I am confused how to make this type please tell me fast.