code: public static String getExtraString(Activity context, String key) {
          String param = "";
          Bundle bundle = context.getIntent().getExtras();
          if (bundle != null) {
              param = bundle.getString(key);
          }
          return param;
      }
docs: Used to get the parameter values passed into Activity via a Bundle.
  
  @return param Parameter value