Top "Locationmanager" questions

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

Retrieving # of satellites used in gps fix from Android

I am trying to retrieve the # of satellites used in the GPS fix. I have implemented two different methods, as …

android gps locationmanager satellite
Unsubscribing a LocationListener from the LocationManager

How do I unsubscribe a LocationListener from recieving updates from the LocationManager? Here is how I'm setting it up mLocationManager = (…

android locationmanager locationlistener
Starting LocationManager as Service Android

What I'm attempting to do is when receiving a c2dm message, start a service that asks for location for …

android android-service android-c2dm locationmanager
Using LocationListener within a fragment

Can I get a users location by using LocationListener and LocationManager from within a fragment? Or do I need to …

android fragment locationmanager locationlistener
RequestLocationUpdates parameter android

I have confusion in this parameter locationManager.requestLocationUpdates(provider, 60000, 10, listener); So here is how it executes location update listener. if …

android locationmanager
Runtime Error--java.lang.IllegalArgumentException: provider=gps

I got this error from the user logs on an android app I created. I have been unable to replicate …

android gps locationmanager illegalargumentexception
does location manager keeps working when device goes to sleep?

My application requests for updates in a service on background when a boolean flag is set to true. If flag …

android sleep locationmanager wakelock
Android: how to set a proximity alert to fire only when exiting or only when entering the location

I am developing a ToDo app with reminders(by time and by location) and the thing is I give the …

android alert locationmanager proximity
Android: LocationManager constructor's looper

There is the possibility to start retrieving notifications from a LocationManager with the following method: requestLocationUpdates(String provider, long minTime, …

android location locationmanager looper
kotlin coroutine throws java.lang.IllegalStateException: Already resumed, but got value Location

I'm quite new to Kotlin coroutine and Android development in general. While playing around to understand how it worked, I …

android kotlin locationmanager kotlinx.coroutines