Top "Locationmanager" questions

The LocationManager class in Android provides access to the system location services.

Android check permission for LocationManager

I'm trying to get the GPS coordinates to display when I click a button in my activity layout. The following …

android locationmanager
Call requires permissions that may be rejected by user

I am trying to make an application that sends location updates of a user after every five minutes. I suppose …

android runtime-error locationmanager
OnLocationChanged callback is never called

I am trying to get the users current location using the LocationManager. I have done a lot of research and …

android geolocation locationmanager
How to get last known location for Location manager in Android?

I am using simple location manager object to get lastKnownLocation() of device but getting null object in return can any …

android geolocation locationmanager
How to stop location manager?

Don't know why, but sometimes LocationManager is still working also after closing application. I call startGPS() in onCreate-Methode in one …

android gps locationmanager
LocationListener of NETWORK_PROVIDER is enabled but , onLocationChanged is never called

I am developing an application that gets position of the cell phone all day long in 6 and 6 minutes in a …

android geolocation gps locationmanager locationlistener
Difference between LocationRequest setInterval (long millis) and LocationRequest setFastestInterval (long millis)

I am writing my own background location updates for interval of every 5 minutes in android. I would like to know …

android gps location locationmanager
onLocationChanged() never called

I am writing a code that brings current location but it is not giving me the location because it never …

android gps locationmanager
onLocationChanged is not called automatically

I have a problem with onLocationChanged event in Android. Here's the triggering: case R.id.start: { Points.add(overlay.getMyLocation()); // …

android geolocation gps locationmanager locationlistener
Android location manager permissions to be used

I have the following code in my android project: locationManager = (LocationManager) getSystemService(LOCATION_SERVICE); Criteria criteria = new Criteria(); bestProvider = locationManager.…

android permissions android-manifest locationmanager