Code example for LocationClient

Methods: addGeofences

0
		} 
 
	} 
 
	public void addGeofence() { 
		locationClient.addGeofences(mGeoList, intent, this);
 
	} 
 
	private PendingIntent getTransitionPendingIntent() {
 
		Intent localIntent = new Intent(this, GeoFenceIntentService.class);
 
		return PendingIntent.getService(this, 0, localIntent,
				PendingIntent.FLAG_UPDATE_CURRENT);
	} 
 
	@Override 
	protected void onStop() { 
 
		locationClient.disconnect();