Reputation: 2179
I'm very interested in all these location-aware based devices (all the new phones and other GPS devices) and am wondering how I can "track" a particular GPS device? For example, say I put this device in my car, is there a way I can harness those coordinates and send them to a server for later viewing? I can create a UI and map the coordinates accordingly, but not sure how to get the coordinates out of a particular device?
Let's say I have an iPhone/Android/WP7 phone, is there a way I can get those coordinates sent via a web service or so?
Any and all advice will be greatly appreciated!
UPDATE: I don't plan on having a UI on the device. I just need to "push"/get the coordinates to some server. With the data stored somewhere, I can then just create a web service and harness them in a browser application. Hope this helps.
Upvotes: 2
Views: 1899
Reputation: 6953
I have a windows app that does this (desktop not phone). A timer fires every x seconds, grabs the location from the GPS and calls a web service that stores the info in a back-end database.
The process should be similar on a phone app. The only problem with windows phone is that it does not currently multi-task so you will not be able to have a hidden process running.
Android should be ok with a background task.
Not sure about iPhone.
Upvotes: 2