Android Question B4A How to disable screen saver

Status
Not open for further replies.

Lvh

Member
Licensed User
How to disable screen saver (keeping screen alkways awake) when running application ?
 

f0raster0

Well-Known Member
Licensed User
Longtime User
we use
Sub Process_Globals

Dim screensaver As PhoneWakeState

End Sub

Sub Activity_Resume
screensaver.KeepAlive(True)
End Sub
 
Upvote 0
Status
Not open for further replies.
Top