Page 1 of 1

mergScreenSetBrightness equivalent?

Posted: Fri Apr 29, 2022 10:48 pm
by simon.schvartzman
Hi team, I have an APP that runs forever taking pictures every hour and uploads them to Dropbox.

Problem I'm facing is with a user that wants to run the APP on a Motorola E phone that doesn't have the option to keep the screen always ON, even when connected to power. I have found out that pictures taken with the screen OFF are not captured even though no error is reported. What I get in Dropbox is the last picture taken when the screen was ON.

I'm taking the picture using

cameraControlDo "myCamera", "takePicture"

mergScreenSetBrightness would probably solve the problem but is iOS only !

Any ideas? Even alternatives to keep the screen always ON?

Many thanks

Re: mergScreenSetBrightness equivalent?

Posted: Sat Apr 30, 2022 7:40 am
by strongbow
Check out:

mobileLockIdleTimer

HTH
cheers, Alan

Re: mergScreenSetBrightness equivalent?

Posted: Sat Apr 30, 2022 1:41 pm
by simon.schvartzman
Hi Alan, many thanks for you input, this is exactly what I was looking for and it works fine!

At first it didn't but it was because I didn't check the Idle Timer option in the Stand Alone / Application Permissions

As always the LC forum members are a very valuable asset of the tool.

Thanks again

Best!