My application only needs very rough location data, so I initially set my explicit access permissions to ACCESS_COARSE_LOCATION and set up the location receiver for NETWORK_PROVIDER . This gave me exactly the kind of rough estimate of the location I needed, but only with Google Location Services turned on.
I expected that if the user only had GPS turned on, I would still get a rough estimate of their location. But it seems that the only way to get ANY location data from GPS_PROVIDER is with ACCESS_FINE_LOCATION permission.
So, is it true that only with GPS turned on, the application cannot receive location information if it does not have ACCESS_FINE_LOCATION permission? In other words, GPS_PROVIDER cannot send approximate location estimates if the app only has ACCESS_COARSE_LOCATION permission?
source share