Code example for LocationClient

Methods: requestLocationUpdates

0
		LocationRequest locationRequest = LocationRequest.create();
		locationRequest.setPriority(LocationRequest.PRIORITY_LOW_POWER);
		locationRequest.setInterval(time);
		locationRequest.setFastestInterval(time);
		 
		locationClient.requestLocationUpdates(locationRequest, this);
	} 
	 
	@Override 
	public void onLocationChanged(Location location) {
		Log.d(TAG, "Location Update Received from BG");
		Log.d(TAG, "Got "  + location);
	} 
 
	@Override 
	public void onConnectionFailed(ConnectionResult arg0) {
		Log.d(TAG, "onConnectionFailed: BG");
	} 
 
	@Override 
	public void onDisconnected() {