How do I turn off Location listener on Android?

mLocManager. removeUpdates(locationListenerObject); mLocManager = null; Call this inside your onLocationChange Method when lat and long has been captured by the listener. It might take some time for the onLocationChange method to be called.

Leave a Reply

Your email address will not be published. Required fields are marked *