views:

903

answers:

5

I'm developing a todo list application. I'm looking for any way to alert the user when a task becomes due, even if the app is not running. Is there any way to set the program to run at a specified time w/out user interaction? Or a way to bring up an alert anyway?

Edit: How can I add an item to the calendar?

+7  A: 

No, not until the push notification service gets released.

ceejayoz
+3  A: 

Your best bet right now is allowing users to add reminders to the Calendar - without the push service, there's no notifications without your app running actively.

Greg Hurlman
Okay, so how do I do that?
Ed Marty
Ask a new question - I haven't a clue!
Greg Hurlman
There's no way to do this with the existing SDK
Ben Gottlieb
A: 

But even once push is released, that won't enable you to have the application independently alert the user. You would have to run a server that would push notifications to people once a task is approaching due, which means you would have to have everyone's task list synced to your server.

dancavallaro
You don't need to have the whole task list, just the scheduled notifications. No need to store the task contents, or anything for tasks that don't need an alert.
ceejayoz
A: 

I asked a related question, and the answer provided was very helpful: http://stackoverflow.com/questions/350128/is-the-iphone-cron-able#350136

warren
+1  A: 

As has been made very clear by Steve Jobs himself, the iPhone SDK will NOT support background processes. In addition, there is no API to access the calendar on the iPhone.

If these things are important to you, you should file an enhancement request: Apple Bug Reporter

August