Page 1 of 1
[SOLVED][android] how to keep Screen ON while running App
Posted: Fri Sep 30, 2016 10:27 pm
by joseggarza
Hello, LC Gurus...
I am looking for a command or library to keep screen "ON" while running my program.
I need to update db records while locationChanges, but android keeps turning off.
Any good ideas on how to do this?
Re: [android] how to keep Screen ON while running App
Posted: Tue Oct 04, 2016 8:07 pm
by KimD
Have you tried mobileLockIdleTimer? The first time that I used this it didn't work because I forgot to also tick Idle Timer in the Android stand alone application settings.
Regards
Kim
Re: [android] how to keep Screen ON while running App
Posted: Tue Oct 04, 2016 11:36 pm
by joseggarza
KimD wrote:Have you tried mobileLockIdleTimer? The first time that I used this it didn't work because I forgot to also tick Idle Timer in the Android stand alone application settings.
Regards
Kim
Thanks Kim, That is exactly what I was looking for. You're the best.
JG
Re: [SOLVED][android] how to keep Screen ON while running Ap
Posted: Wed Oct 05, 2016 4:54 am
by KimD
This forum has answered about 30 questions for me, and I've answered about 3 questions for forum members. I've still got a lot of forum karmic debt
