Skip to content Skip to sidebar Skip to footer

Start Activity Even When Phone Is Locked

I would like to start an activity like the one used when an alarm starts ringing and a dialog dismiss appears even when the phone is locked and I am able to click it. I have this c

Solution 1:

Register boradcast reciever for SCREEEN_ON intent. As screen gets on your braodcast reciever onRecieve(..) will execute, Start your actitvity with flags as you have written in your post in onRecieve method.


Post a Comment for "Start Activity Even When Phone Is Locked"