开发者

how to update multiple users location and update markers also on google map after 15 seconds

开发者 https://www.devze.com 2023-02-25 12:12 出处:网络
hi friends i want to get location of other users from the web service i did it and now i want to locate this new latitue and longitue to google map and upd开发者_C百科ate its locationYou should use a

hi friends i want to get location of other users from the web service i did it and now i want to locate this new latitue and longitue to google map and upd开发者_C百科ate its location


You should use a location manager, and then write your code to onStatusChanged method, you can see the documentation here

http://developer.android.com/guide/topics/location/obtaining-user-location.html

It is documented under Requesting Location Updates title

0

精彩评论

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