Home
last modified time | relevance | path

Searched refs:mLocationManager (Results 1 – 1 of 1) sorted by relevance

/development/samples/training/location-aware/src/com/example/android/location/
DLocationActivity.java52 private LocationManager mLocationManager; field in LocationActivity
114 mLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); in onCreate()
161 mLocationManager.removeUpdates(listener); in onStop()
169 mLocationManager.removeUpdates(listener); in setup()
216 if (mLocationManager.isProviderEnabled(provider)) { in requestUpdatesFromProvider()
217 mLocationManager.requestLocationUpdates(provider, TEN_SECONDS, TEN_METERS, listener); in requestUpdatesFromProvider()
218 location = mLocationManager.getLastKnownLocation(provider); in requestUpdatesFromProvider()