I have developed a simple app for android which update location every minutes and send it to a server for more process.
Now I have two question:
1- How can rise GetLocation function every minutes??? I use a while loop and Thread.Sleep() function right now, but I believe there is better solution.
2- How can break loop by button click???