Thursday 8 January 2015

What are the permissions required to access phone's location using NETWORK_PROVIDER ?

ACCESS_FINELOCATION
ACCESS_COARSE_LOCATION

NETWORK_PROVIDER will fetch locations either by using WiFi point or cell tower information. for cell tower we have to use COARSE_LOCATION permission and for WiFi we have to use FINELOCATION permission.

No comments:

Post a Comment