In Android What are the location determination strategies for
- Real-time GPS location determination (for user real-time user location tracking).
- Periodic GPS location determination (for periodic user location determination).
- For most accurate GPS location value.
I am trying to make mobile applications of type 1 and type 2. Please guide me regarding the same
You can use Google Play Services API which is friendly and simple to use or GPS
location API directly. Google Play Services API can return current user location or you can even subscribe to location updates. Take look official documentation.
Also there is not only GPS
, but also mobile Network and Wi-Fi based location built in in Android. You can use all of them simultaneously thru FusedLocation provider to determine user location.
Location APIs
Location Strategies