PDA

View Full Version : is there any way to run a process or thread in background


mfurqan
08-07-2008, 08:08 AM
I need to run a thread in background which is listening for events from the calendar. So other application keep continue whith this thread in background. Is there anyway that I can keep the thread running in background while other application can continue.

TheLastMohican
08-08-2008, 07:27 PM
Maybe in an jailbroken iPhone yes but i doubt it, but certainly not with a out-of-the-box iPhone. Only thing that runs in the background AFAIK is the iPod functionality.

termleech
08-13-2008, 08:29 AM
Not in the official SDK. Apple has however taken this into consideration and has rolled their "push notification" system into the current beta of the SDK and will be available to everyone in September. This will allow your software to stay connected to a server and have things "pushed" to your phone which will simulate having your app run in the background.