I am trying to collect some location updates into an arraylist in an Android map application. I would like to save the collected location updates for every minute into my local server. How can I do this. Is there a function in Android to do this?
Share
Use
Service, which is like an Activity without any UI.Let
Servicerun after every minute and take down the location updates in the form of Latitude and Longitude.Then use a
Non-UIthread to store the location data in the DataBase, for eg:SQLiteFor service:
http://developer.android.com/guide/components/services.html
For creation of simple thread: