Android Question Programmatically Exit from Screensaver/Somnambulator

Mike1970

Well-Known Member
Licensed User
Longtime User
Hi everyone,
Some time ago I posted this question on how to start programmatically the Screensaver from my Application.

Is there a way to do the opposite?
I wish to exit from the screensaver to show up my Application again (I will do it in the event that fires when new data arrives from the serial port of my tablet pc).

Thanks in advance
 

Mike1970

Well-Known Member
Licensed User
Longtime User
I guess that calling StartActivity(Main) will bring your app to the foreground, however you will need to acquire the special "draw over apps" permission.
Ok thanks Erel for the information.
This question is strictly related to this one, as soon I solve that issue I will try this trick
 
Upvote 0
Top