Jmu5667 Well-Known Member Licensed User Longtime User Jun 11, 2014 #1 Hi all does anyone know how to check if the screen is locked. I already now how to unlock it and the intent's SCREEN_ON/OFF are protected. So, I guess a bit of reflection, maybe? Regards John.
Hi all does anyone know how to check if the screen is locked. I already now how to unlock it and the intent's SCREEN_ON/OFF are protected. So, I guess a bit of reflection, maybe? Regards John.
lemonisdead Well-Known Member Licensed User Longtime User Jun 11, 2014 #2 In the Phone library you have UserPresent. Could this help ? Upvote 0
Jmu5667 Well-Known Member Licensed User Longtime User Jun 12, 2014 #3 I have a service that runs when the app is not in the foreground, and is killed when then app is in the foreground, so I just check to see if the service is running or not, and it works a treat ! Upvote 0
I have a service that runs when the app is not in the foreground, and is killed when then app is in the foreground, so I just check to see if the service is running or not, and it works a treat !