I am busy with a application for my phone for a project. I am not a programmer, so have learnt a bit of java for android so far.
I am stuck on running a method every 60 Seconds while the application is running on the phone.
The application uses the GPS and then sends a User Id & Gps co-ords to a server.
So I have a Method (getLoc) that gets the Location & then calls the send to server method and save to SD card method.
This is for proof of concept & I only need to run the application over the next few days in my car while the phone is connected to the car charger & not allowing it to sleep. I need to log some "test" data (GPS Coords) while I drive around over the next few days.
I am just looking for the easiest way to repeat the method every 60 seconds that sends the data to the server while the Location manager runs & gets the location constantly..
How would I keep the method getLoc to run every 60 Seconds?