Android Programming and Technical Programming Technical

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

Options
1) ACCESS_FINELOCATION
2) ACCESS_COARSE_LOCATION
3) both option 1 & 2
4) we don't need to take any permission

Read Solution (Total 2)

Android Other Question

How to find whether GPS is disabled in the phone

Options
1) If it is disabled onStatusChanged() will be called with provider name.
2) if it is disabled onProviderDisabled() will be called with provider name.
3)either one of the option 1 or 2 will happen
4) There is no way to find it out.
In which library GeoCoder class is located?

Options
1) android.location
2)android.hardware
3)com.google.android.maps
4)none of the above