code: public static Object getExtraObject(Activity context, String key) {
          Object param = null;
          Bundle bundle = context.getIntent().getExtras();
          if (bundle != null) {
              param = bundle.get(key);
          }
          return param;
      }
docs: Used to get the parameter values passed into Activity via a Bundle.
  
  @param context The current Context or Activity that this method is called from
  @param key     Extra key name.
  @return param Parameter value