Reputation: 81
I need to create a database of gps coordinates by walking some trails and periodically storing coordinates. What would be the best way to get gps coordinates quickly sent and stored on the phone in an array of some sort so I could later access the coordinates. I need to be able to save them on the phone and then get them back to the computer. Any tips will be helpful. thank you
Upvotes: 1
Views: 627
Reputation: 28509
Here's a great page on acquiring location and I'd suggest you store the locations received in a Sqlite database, which means the location data will persist between each time you run the app, which seems like what you need.
As each location comes in, you can store them in the database, and from there it's easy to handle them, e.g. pass them on. Not sure what you mean by "get them back to the computer, as you don't say why or in what format.
Upvotes: 1