code: public void configure(int resId) {
          Resources resources = context.getResources();
  
          try {
              InputStream rawResource = resources.openRawResource(resId);
              Properties properties = loadProperties(rawResource);
              startConfiguration(properties);
          } catch (NotFoundException e) {
              Log.e(TAG, "Did not find  resource." + e);
          } catch (IOException e) {
              Log.e(TAG, "Failed to read the resource." + e);
          }
      }
docs: Configure using the specified resource Id.
  
  @param resId the resource Id where to load the properties from.