I’m developing an application for android and I have a problem.
My application displays pages to read, but the android has the function to fade the screen to save battery, thus disturbing reading. I wonder if it is possible to change the fade time when the user is using the application, that will solve the problem.
Thankful.
Yes your app can certain acquire a wake lock and keep the screen on.
Read here for details:
http://developer.android.com/reference/android/os/PowerManager.html
Options are:
You should select one of the last two if you don’t want the screen to dim (warning that the user should understand by you doing this it will consume lots more battery).