code: public boolean sendActivityLocally(SPFActivity activity) {
  		String token = getAccessToken();
  		SPFError err = new SPFError();
  		InvocationResponse resp;
  
  		try {
  			getService().injectInformationIntoActivity(token, activity, err);
  			if (!err.isOk()) {
  				handleError(err);
  				return false;
  			}
  
  			resp = getService().sendActivityLocally(token, activity, err);
  		} catch (RemoteException e) {
  			// TODO Error Management
  			return false;
  		}
  
  		if (!err.isOk()) {
  			handleError(err);
  			return false;
  		}
  
  		if (!resp.isResult()) {
  			return false;
  		}
  
  		return GsonHelper.gson.fromJson(resp.getPayload(), Boolean.class);
  	}
docs: Dispatches an activity to the local SPF instance. The framework will
  perform information injection into the activity: such information will be
  available to the caller once the method ends.
  
  @param activity
  - the activity to dispatch.
  @return - true if the activity has been correctly consumed.