简体   繁体   中英

Android location tracking

I'm a beginner in android development. I need some idea about how can I make an app which can track a phone's live location. I want to use the same app on 2 devices and both of them should be able to track each other. Can someone please help?

the good starting point is https://developer.android.com/training/location where you can find examples and best practices. Depending on your application please consider a suitable strategy (background tracking, geofencing, and impact on the battery). The second thing you have to solve is how to exchange/share information between devices. There are ways how to deal with it. For example, google API, web socket or something else. Sorry for the general answer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM