Hi, I've found this code online, can anyone help make it work in b4a?
It's suppose to be able to turn the screen back on if it's sleeping.
Thanks!
John
It's suppose to be able to turn the screen back on if it's sleeping.
B4X:
PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK | PowerManager.ACQUIRE_CAUSES_WAKEUP, "tag");
wl.acquire();
Thanks!
John