By Rahul Vyas

2009-10-10 09:26:56 8 Comments

I want to run my timer in background even when app is not running. Because I want to get gps cordinate of the user after some time interval. What is the method to do this?


@mreyesc 2013-01-28 16:15:31

I think you are in one of cases you can do background process, take a look in this discusion

Run app for more than 10 minutes in background

@Zeeshan 2011-07-21 05:17:01

May be the link will Help bcz u might have to implement the code in Appdelegate in app run in background method .. Also consult the site for application class Here is link for runing app in background

@Ed Marty 2009-10-10 14:47:44

The Apple Push Notification service is not, in fact, only available to a few developers. It is currently in wide-spread use.

Take a look at this:

The "Registering for remote notifications" section specifies how to register for push notifications. The other end is set up in the iPhone developer portal.

@Dave 2009-10-10 10:54:25

You could contact the people who made this

It only works on jail broke phones, another way it to use push notification from our servers for timed tasks. Why dont you use this, to wake up the app get the GPS then send it back to sleep. Better for batteries too.

@Mobs 2009-10-10 09:52:23

Not possible without jailbreak - iphone sdk apps can only run while on screen.

@Artelius 2009-10-10 09:33:51

I don't think this is allowed in the iPhone programming paradigm. The operating system is capable of running background tasks but ordinary iPhone apps are not permitted to launch anything like this.

Related Questions

Sponsored Content

7 Answered Questions

30 Answered Questions

[SOLVED] How to change the background color of a UIButton while it's highlighted?

95 Answered Questions

44 Answered Questions

[SOLVED] Passing Data between View Controllers

14 Answered Questions

[SOLVED] How to run Node.js as a background process and never die?

39 Answered Questions

[SOLVED] How can I develop for iPhone using a Windows development machine?

  • 2008-08-22 13:35:01
  • ryan
  • 1113340 View
  • 1192 Score
  • 39 Answer
  • Tags:   ios iphone windows

10 Answered Questions

[SOLVED] Scheduled NSTimer when app is in background?

6 Answered Questions

14 Answered Questions

2 Answered Questions

[SOLVED] How to run the timer in background of the application?

  • 2012-10-16 14:12:51
  • Mani
  • 6335 View
  • 4 Score
  • 2 Answer
  • Tags:   iphone

Sponsored Content