iPhone / iPod Touch SDK | Development DiscussionSDK questions. A place for iPhone developers to post code snippets, discuss creating iPhone apps, and any other iPhone developing.
Get more out of ModMyiFone by joining our free community. By registering you get privileges to download files from our downloads section and you may also post your questions in our forums! It's fast, free, and easy!
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?
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.
The Following User Says Thank You to cpatch For This Useful Post:
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.
__________________
Like what i said? Hit the Thanks Button!
1.83GHz MacBook 160GB HDD 1GB RAM
3.06GHz iMac 320GB HDD 2GB RAM SEARCH BEFORE POSTING
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.
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.