Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Webapp - Avoid sleep mode?
07-21-2010, 04:33 AM #1Webapp - Avoid sleep mode?
I've done a small webapp wich provides live data with a refresh rate of 50 seconds. If I pull this page up in Mobile Safari on my phone, the phone doesn't go to sleep since the page is reloading before the sleep timer comes in. If I hit the "+" and "Add to springboard" to appify it, it doesn't care about the reloads anymore. After 60 seconds running from the springboard icon, the phone goes to sleep if you're not touching it.
08-05-2010, 08:23 PM #2
I don't think you can control those things from a webapp.
Last edited by ddonuts4; 08-05-2010 at 08:25 PM.If i helped, don't be afraid to hit the thanks button. It won't bite!!!!
How may I hack you?
08-20-2010, 12:43 PM #3
09-15-2010, 06:37 PM #4
Yea a web app has no way to control weather or not the iPhone is sleeping/awake.
Imagine if a random webpage could keep your iPhone awake, that'd be just weird...