public static MWMResponse extractFromIntent(@SuppressWarnings("unused") final Context context, final Intent intent) {
    final MWMResponse response = new MWMResponse();
    // parse point
    final double lat = intent.getDoubleExtra(Const.EXTRA_MWM_RESPONSE_POINT_LAT, INVALID_LL);
    final double lon = intent.getDoubleExtra(Const.EXTRA_MWM_RESPONSE_POINT_LON, INVALID_LL);
    final String name = intent.getStringExtra(Const.EXTRA_MWM_RESPONSE_POINT_NAME);
    final String id = intent.getStringExtra(Const.EXTRA_MWM_RESPONSE_POINT_ID);

    // parse additional info
    response.mZoomLevel = intent.getDoubleExtra(Const.EXTRA_MWM_RESPONSE_ZOOM, 9);

    if (lat != INVALID_LL && lon != INVALID_LL) {
        response.mPoint = new MWMPoint(lat, lon, name, id);
    } else {
        response.mPoint = null;
    }

    return response;
  }
Factory method to extract response data from intent.

@param context
@param intent
@return
mapswithme-api/src/com/mapswithme/maps/api/MWMResponse.java