Turning Screen On

rbsoft

Active Member
Licensed User
Longtime User
Is there a way to turn the device screen on? Similar as an incoming phone call does?

My app is running a service that is communicatiing with a server. Phone WakeState is set to KeepAlive(False). So the screen is dimmed.

I would like to turn the screen bright if it is dimmed, or - even better - turn the screen on if a new message is coming from the server. Any chance to do this?

Rolf
 

rbsoft

Active Member
Licensed User
Longtime User
Thanks, Margret.

I was hoping there would be a way via reflection or so. After all an incoming phone call can do that.

Rolf
 
Upvote 0

rbsoft

Active Member
Licensed User
Longtime User
I guess we are limited to sounds as notifications.

Rolf

Gesendet von meinem GT-P1000 mit Tapatalk
 
Upvote 0

rbsoft

Active Member
Licensed User
Longtime User
Thanks, njdude, i WILL try that out.

Rolf

Gesendet von meinem GT-P1000 mit Tapatalk
 
Upvote 0

rbsoft

Active Member
Licensed User
Longtime User
Thanks again NJDude!
Works perfect.

Rolf
 
Upvote 0
Top