// new api
LocationClient.getLastLocation()
// old api
locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
// new api
LocationClient.getLastLocation()
// old api
locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
// new api
LocationClient.requestLocationUpdates(request, listener);
// old api
locationManager.requestLocationUpdates (LocationManager.GPS_PROVIDER, time, distance, listener);
// new api
LocationClient.requestLocationUpdates(request, listener);
// old api
locationManager.requestLocationUpdates (LocationManager.NETWORK_PROVIDER, time, distance, listener);
// new api
LocationRequest.PRIORITY_NO_POWER
// old api
<receiver android:name=".PassiveLocationChangedReceiver" android:enabled="true"/>