Android Question Screen on/off vs screen dim

pfillion

Member
Licensed User
Longtime User
I know that you can keep the screen on using the phone library.

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) ...
If I hold a screen lock but let the screen dim, is there a way to intercept when the screen dim ?
 
Top