I know that you can keep the screen on using the phone library.
I know that you can intercept when the screen goes off or on.
If I hold a screen lock but let the screen dim, is there a way to intercept when the screen dim ?
B4X:
Dim p As PhoneWakeState
p.KeepAlive(false)
I know that you can intercept when the screen goes off or on.
B4X:
Dim pe As PhoneEvents
pe.Initialize("pe")
Sub pe_ScreenOn (Intent As Intent) ...
Sub pe_ScreenOff (Intent As Intent) ...