Switch screen on/off, control brightness

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
grifma
Posts: 2
Joined: Tue Sep 01, 2015 3:56 pm

Switch screen on/off, control brightness

Post 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!
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Switch screen on/off, control brightness

Post 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
grifma
Posts: 2
Joined: Tue Sep 01, 2015 3:56 pm

Re: Switch screen on/off, control brightness

Post by grifma »

Thanks Klaus.
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: Switch screen on/off, control brightness

Post 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
Simon
________________________________________
To "AI", or not to "AI", that is the question
Post Reply