Results 1 to 6 of 6

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


Thread: how to schedule native (sdk) apps?

  1. #1
    Default how to schedule native (sdk) apps?
    this sdk banner rule with "only one 3rd party app at a time" is getting to me. i guess even though i would put a 1-minute timer in my app, and regularily wake it up to see it has anyhing to do, i would still have to require my app to be the only one running.

    did any one of you figured out how to at least schedule a 3rd party native app to launch at regular intervals of time? (sort of like cron-ing it, with the apple sdk's blessing?) or a workaround with the same result that you can think of. what would happen with another 3rd party app that is unlucky enough to be in use when the scheduled one is launched?

  2. #2
    What's Jailbreak?
    Join Date
    Feb 2008
    Location
    San Diego, CA
    Posts
    15
    Thanks
    0
    Thanked 2 Times in 2 Posts

    You can't schedule your app to launch using the official SDK...and to do so would cause the currently running app to quit and yours to come to the foreground.

    Basically, if you want to write an app that does something in the background you're going to have to write it using the open toolchain. Unless, of course, Apple comes to their senses and does something to change the current situation.

  3. The Following User Says Thank You to cpatch For This Useful Post:

    drivefast (2008-04-02)

  4. #3
    Retired Moderator StealthBravo's Avatar
    Join Date
    Jan 2008
    Location
    TX  Follow me @StealthBravo
    Posts
    32,474
    Thanks
    44
    Thanked 5,329 Times in 3,113 Posts

    im on it

  5. The Following User Says Thank You to StealthBravo For This Useful Post:

    drivefast (2008-04-06)

  6. #4
    Retired Moderator DoerrFan's Avatar
    Join Date
    Jul 2007
    Location
    Boston
    Posts
    2,290
    Thanks
    143
    Thanked 461 Times in 229 Posts

    I see the reasoning behind it, as it could drain the battery, and i mean really drain it i've noticed with some apps i tested on jailbroken. But i hope they do something about that.

  7. #5
    Quote Originally Posted by StealthBravo View Post
    im on it
    thanks. lemme know if i can help with what i researched so far. calendar, maybe?... somehow i would think they will have to open the calendar, if they want to integrate nicely with m$ exchange.

  8. #6
    What's Jailbreak?
    Join Date
    Feb 2008
    Location
    San Diego, CA
    Posts
    15
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Apple apps aren't subject to the same limitations as third party apps. Support for scheduling and background apps is in the frameworks, it's just not exposed in the public APIs.

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