I want to stop GPS tracking when a user clicks on a specific button. How can I achieve this.
Asked
Active
Viewed 655 times
2 Answers
1
The following link can be useful to you
0
in the onPause() method, call the method removeUpdates() on that LocationListener
Aman Alam
- 11,131
- 7
- 42
- 81