in android phone there is a function that the screen light will auto turn off.
to disable this function, used the view: setKeepScreenOn
eg:
FrameLayout frame = new FrameLayout(this);
frame.setKeepScreenOn(true);
in android phone there is a function that the screen light will auto turn off.
to disable this function, used the view: setKeepScreenOn
eg:
FrameLayout frame = new FrameLayout(this);
frame.setKeepScreenOn(true);