Code example for LocationClient

Methods: connect

0
		Log.d("GeofenceCreator", "Object created");
	} 
	 
	public void create() { 
		Log.d("start", "Entered");
		mLocationClient = new LocationClient(mActivity, this, this);
		mLocationClient.connect();
	} 
	 
	@Override 
	public void onConnected(Bundle arg0) {		
		Log.d("onConnected", "Entered");
		continueCreate(); 
	}	 
	 
	private void continueCreate() { 
		Log.d("continueCreate", "Entered");
		mLocation = mLocationClient.getLastLocation();
		mGeofence = buildGeofence(mLocation);
		mGeofencesList.add(mGeofence);
		//Log.d("mGeofencesList", String.valueOf(mGeofencesList.get(0).))