Repeating a method every 60 seconds in Java on Android
<p>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.</p>

<p>I am stuck on running a method every 60 Seconds while the application is running on the phone.</p>

<p>The application uses the GPS and then sends a User Id &amp; Gps co-ords to a server.</p>

<p>So I have a Method (getLoc) that gets the Location &amp; then calls the send to server method and save to SD card method.</p>

<p>This is for proof of concept &amp; I only need to run the application over the next few days in my car while the phone is connected to the car charger &amp; not allowing it to sleep. I need to log some "test" data (GPS Coords) while I drive around over the next few days.</p>

<p>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 &amp; gets the location constantly..</p>

<p>How would I keep the method getLoc to run every 60 Seconds?</p>
