[SOLVED][android] how to keep Screen ON while running App

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
joseggarza
Posts: 44
Joined: Thu Jul 24, 2014 8:55 pm

[SOLVED][android] how to keep Screen ON while running App

Post by joseggarza » Fri Sep 30, 2016 10:27 pm

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?
Last edited by joseggarza on Tue Oct 04, 2016 11:35 pm, edited 1 time in total.

KimD
Posts: 225
Joined: Wed Jul 08, 2015 5:51 am

Re: [android] how to keep Screen ON while running App

Post by KimD » Tue Oct 04, 2016 8:07 pm

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

joseggarza
Posts: 44
Joined: Thu Jul 24, 2014 8:55 pm

Re: [android] how to keep Screen ON while running App

Post by joseggarza » Tue Oct 04, 2016 11:36 pm

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

KimD
Posts: 225
Joined: Wed Jul 08, 2015 5:51 am

Re: [SOLVED][android] how to keep Screen ON while running Ap

Post by KimD » Wed Oct 05, 2016 4:54 am

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 ;-)

Post Reply