Tuesday, 10 January 2017

Calling at once LocationManager

@Overridepublic void locationChanged(Location location) {
    if (location != null) {
        Log.e("Location Changed", String.valueOf(location.getLatitude()) + String.valueOf(location.getLongitude()));
        mLocation = location;
        updateMarker(mLocation);
        mLocationManager.removeListener();
    }
}

No comments:

Post a Comment