Which permission do I have to add to the manifest to get gps sensor readings?
12,280
you need:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
outside the application tag in your AndroidManifest.xml
Author by
SHRISH M
Updated on June 05, 2022Comments
-
SHRISH M almost 2 years
Which permission needs my application to get access to the location of the user on Android?
-
Rakshith N about 14 yearsFINE_LOCATION will get you GPS or android.permission.ACCESS_COARSE_LOCATION which i think will return GPS coords if available. if not it will use wifi or cell-id developer.android.com/reference/android/…