开发者

how do I start and stop GPS tracking in an Android application?

开发者 https://www.devze.com 2023-02-21 03:19 出处:网络
In my Android application when I press the stop button the GPS stop开发者_StackOverflows tracking the user location.

In my Android application when I press the stop button the GPS stop开发者_StackOverflows tracking the user location.

Specifically I defined methods like removeupdates in that button event.

But now I want to start the GPS tracking again after it has been stopped.

Can you tell me what I need to do?


Register LocationListener one more time.

0

精彩评论

暂无评论...
验证码 换一张
取 消