I want to stop GPS tracking when a user clicks on a specific button. How can I achieve this.
Asked
Active
Viewed 662 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,231
- 7
- 46
- 81