Is it possible to prevent the screen from dimming after the user does nothing for a while?
Im just playing with livecode os at the moment, writing basics like clocks etc to see how it works, but one of the first problems with things like clocks etc is the screen dims after about 20 seconds of inactivity. If there is a flag I can set so this does not happen it would be good.
Andy
Prevent screen from dimming
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Prevent screen from dimming
In ObjC you would add the following line to the application delegate.
I don't think it is possible in LiveCode yet.
See: iOS Application Programming Guide: Implementing Common Application Behaviors
You should file a report in the QA Center.
Robert
Code: Select all
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
I don't think it is possible in LiveCode yet.
See: iOS Application Programming Guide: Implementing Common Application Behaviors
You should file a report in the QA Center.
Robert
Re: Prevent screen from dimming
Thanks, I can see that is xCode, seems a simple enough thing to do there.
Unfortunately I cannot log into the QA Center, I cannot see anywhere you can sign up for an account, only a log in.
Unfortunately I cannot log into the QA Center, I cannot see anywhere you can sign up for an account, only a log in.
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Location: Aalst, Belgium
- Contact:
Re: Prevent screen from dimming
You can always email support at runrev dot com to either file it for you, or grant you access to the quality center.
Jan Schenkel.
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Re: Prevent screen from dimming
Thanks Jan, ive done that now.
I think I need to a new bookmark to keep track of the different lists, but its just great to be able to ask someone when I hit a brick wall, hopefully I can answer other peoples questions as well.
Thanks again.
Andy
I think I need to a new bookmark to keep track of the different lists, but its just great to be able to ask someone when I hit a brick wall, hopefully I can answer other peoples questions as well.
Thanks again.
Andy