Search in sources :

Example 1 with LocationServiceManager

use of fr.free.nrw.commons.location.LocationServiceManager in project apps-android-commons by commons-app.

the class NearbyActivity method startLookingForNearby.

private void startLookingForNearby() {
    locationManager = new LocationServiceManager(this);
    locationManager.registerLocationManager();
    curLatLang = locationManager.getLatestLocation();
    nearbyAsyncTask = new NearbyAsyncTask(this);
    nearbyAsyncTask.execute();
}
Also used : LocationServiceManager(fr.free.nrw.commons.location.LocationServiceManager)

Aggregations

LocationServiceManager (fr.free.nrw.commons.location.LocationServiceManager)1