code: public void setContext(String photoId, int context) throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_SET_CONTEXT);
  
          parameters.put("photo_id", photoId);
          parameters.put("context", "" + context);
  
          // Note: This method requires an HTTP POST request.
          Response response = transport.post(transport.getPath(), parameters, apiKey, sharedSecret);
          // This method has no specific response - It returns an empty sucess response
          // if it completes without error.
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
      }
docs: Indicate the state of a photo's geotagginess beyond latitude and longitude.
  <p>
  
  Note : photos passed to this method must already be geotagged (using the {@link GeoInterface#setLocation(String, GeoData)} method).
  
  @param photoId
  Photo id (required).
  @param context
  Context is a numeric value representing the photo's geotagginess beyond latitude and longitude. For example, you may wish to indicate that a
  photo was taken "indoors" (1) or "outdoors" (2).
  @throws FlickrException