+ Reply
Results 1 to 4 of 4

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Webapp - Avoid sleep mode?

is a discussion within the

Web Apps

forums, a part of the

3rd Party Apps For iPhone | iPod Touch

section;
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
...
  1. #1
    What's Jailbreak?
    Join Date
    Jul 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Webapp - 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.

    Is there any tags or javascript that could disable the sleep timer?

  2. #2
    My iPhone is a Part of Me ddonuts4's Avatar
    Join Date
    Dec 2008
    Posts
    536
    Thanks
    17
    Thanked 22 Times in 21 Posts

    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?

  3. #3
    iPhoneaholic Sailor-girl's Avatar
    Join Date
    Apr 2010
    Posts
    426
    Thanks
    40
    Thanked 22 Times in 19 Posts

    insomnia

  4. #4
    What's Jailbreak?
    Join Date
    Sep 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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...

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts