Code example for LocationClient

Methods: disconnect

0
	 
	} 
	 
	public void stopUpdates() { 
		 
		mLocationClient.disconnect();
	} 
 
	@Override 
	public void onConnectionFailed(ConnectionResult arg0) {
		Log.w(LOG,"location connect failed: " + arg0.getErrorCode() + "=" + arg0.toString());
		 
	} 
 
	@Override 
	public void onConnected(Bundle arg0) {
		 
 
		mLocationRequest = LocationRequest.create();
 
		mLocationRequest.setInterval(Geo.LOG_RATE);