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
mergScreenSetBrightness equivalent?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
mergScreenSetBrightness equivalent?
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- VIP Livecode Opensource Backer
- Posts: 135
- Joined: Mon Jul 31, 2006 1:39 am
- Location: New Zealand, Australia, Germany, Japan
- Contact:
Re: mergScreenSetBrightness equivalent?
Check out:
mobileLockIdleTimer
HTH
cheers, Alan
mobileLockIdleTimer
HTH
cheers, Alan
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: mergScreenSetBrightness equivalent?
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!
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!
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question