Location can be determined in Android Applications by two ways:
Using Gps Provider: The GPS Provider determines the location of the users using satellites. The GPS receiver in the mobile receives the signals from satellites and process to determine exact locations, but it takes more time for response and causes delay. It works better in outdoors.
Permission required to use Gps Provider is,
- Using NETWORK_PROVIDER
- Using GPS_PROVIDER
Permissions required to use Network Provider are either,
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
or
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
Using Gps Provider: The GPS Provider determines the location of the users using satellites. The GPS receiver in the mobile receives the signals from satellites and process to determine exact locations, but it takes more time for response and causes delay. It works better in outdoors.
Permission required to use Gps Provider is,
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
sources from:
http://vastinfos.com/2016/07/difference-between-fine-and-coarse-locations-android-gps/
This comment has been removed by the author.
ReplyDelete