Logging GPS locations to file in Android

I have an Android application that periodically gets GPS updates. If I wanted to store the lat, lon, speed, altitude etc. in a file, what is the best practice for doing this?

Answers


I'd suggest you use a database - they were made for tasks like this. Here is an Android database tutorial: http://www.vogella.de/articles/AndroidSQLite/article.html


Need Your Help

MVC2: How can I read control values for an action link?

asp.net-mvc-2 model actionlink formcollection

I'm passing in some model information to an ActionLink, but I'd also like to provide the action with the values of some inputs on the page. For example, if I had something like this:

ASIHttpRequest / node.js / heroku: “Client closed connection before receiving entire response”

node.js heroku asihttprequest

I have an iphone app using ASIHttpRequest. The server code is on heroku in node.js