docs: private URI createServerURI()
              throws URISyntaxException {
          // We store this in plain text for the purposes of simple demonstration,
          // you might want to use something more secure.
          SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(this.mContext);
          String username = sharedPref.getString(TodoActivity.SETTINGS_CLOUDANT_USER, "");
          String dbName = sharedPref.getString(TodoActivity.SETTINGS_CLOUDANT_DB, "");
          String apiKey = sharedPref.getString(TodoActivity.SETTINGS_CLOUDANT_API_KEY, "");
          String apiSecret = sharedPref.getString(TodoActivity.SETTINGS_CLOUDANT_API_SECRET, "");
          String host = username + ".cloudant.com";
  
          // We recommend always using HTTPS to talk to Cloudant.
          return new URI("https", apiKey + ":" + apiSecret, host, 443, "/" + dbName, null, null);
      }