Code example for LocationClient

Methods: requestLocationUpdates

0
	} 
	 
 
	@Override 
	public void onConnected(Bundle connectionHint) {
		mLocationClient.requestLocationUpdates(mLocationRequest, this);
	} 
 
	@Override 
	public void onConnectionFailed(ConnectionResult result) {
		Toast.makeText(this, "LocationService.onConnectionFailed", Toast.LENGTH_SHORT).show();		
	} 
 
	 
	 
	@Override 
	public void onDestroy() { 
		if (null != mLocationClient) {
			mLocationClient.disconnect();
		} 
		// TODO Auto-generated method stub