Page 1 of 1

Switch screen on/off, control brightness

Posted: Tue Sep 01, 2015 4:06 pm
by grifma
Hello,

I'm using mobileLockIdleTimer to prevent the phone from sleeping during a timer. I don't want to waste battery while the timer is running, but need the screen to be on towards the end of the timer, without input from the user.

Is there a way to switch off/on the screen, or control the brightness?

I've looked through the docs and searched the forums but not found anything.

Thanks in advance!

Re: Switch screen on/off, control brightness

Posted: Wed Sep 02, 2015 1:58 pm
by Klaus
HI grifma,

1. welcome to the forum! :D
Is there a way to switch off/on the screen, or control the brightness?
2. I'm afraid this is not possible with the build-in means of Livecode.


Best

Klaus

Re: Switch screen on/off, control brightness

Posted: Sat Sep 05, 2015 11:07 am
by grifma
Thanks Klaus.

Re: Switch screen on/off, control brightness

Posted: Wed Jan 25, 2017 12:59 pm
by simon.schvartzman
Hi grifma, I'm working on an App that will require the same functionality mentioned in your post and I wonder if you found a solution to be shared.

Many thanks