Different ways to KEEP SCREEN ON in Android.
These are the different ways in which you can keep your screen on in your app 1. Declare the screen stays on in your XML layout 2. Inform the window manager in onCreate you want the screen to stay on 3. WakeLock – used for critical downloads or things that you definitely don’t want the… Read More »