Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is background GPS\location logging possible on iPhone 4 or 3GS running on iOS4

Tags:

iphone

gps

I've never coded anything for the iPhone but have written a GPS tracker for Windows Mobile, with the release of iOS4 I understand there have been some improvements to the multitasking story.

Is is possible to log a GPS trail with an app running on the iPhone iOS4? Can you achieve this by running in the background or using scheduled push notifications to wake up the app, or some other way?

Also, if the above is possible, is it possible to transmit the GPS trial in the background with a web call etc.

like image 213
Christopher Edwards Avatar asked Feb 26 '23 17:02

Christopher Edwards


1 Answers

Yes IOS4 allows your app to log GPS trails in the background. See the Apple docs for more info http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html#//apple_ref/doc/uid/TP40007072-CH5

like image 153
Robert Redmond Avatar answered Apr 27 '23 11:04

Robert Redmond