code: protected String getParameter(String name) {
          if (activity.getRequestAdapter() != null) {
              return activity.getRequestAdapter().getParameter(name);
          } else {
              return null;
          }
      }
docs: Returns the value of an activity's request parameter as a {@code String},
  or {@code null} if the parameter does not exist.
  
  @param name a {@code String} specifying the name of the parameter
  @return a {@code String} representing the
  single value of the parameter