How to implement live tracking?
问题 I would like implement a live tracking in Android using Google maps. I want to show the user's movement as they move from one location to another by changing the position of the marker on the map. 回答1: Because the user location changes, you must account for movement by re-estimating user location every so often. read the full story here: https://developer.android.com/guide/topics/location/strategies.html 回答2: you need to make LocationRequest after a fix interval and listen to location change