Code example for Uri.Builder

Methods: appendPath, build

0
		return builder.build();
	} 
 
	public static Uri makeServerProgressUri(final String serverId) {
		final Builder builder = SERVER_URI.buildUpon();
		builder.appendPath(serverId);
		builder.appendPath("progress");
		return builder.build();
	} 
 
	public static String makeThumbnailString(final String archiveName, final String albumId, final String albumEntryId) {
		return ALBUM_URI_STRING + "/" + archiveName + "/" + albumId + "/entries/" + albumEntryId + "/thumbnail";
	} 
 
	/** 
	 * Build a Content-Provider-URI for reading a given Thumbnail from Content-Provider 
	 *  
	 * @param albumId 
	 *          id of album 
	 * @param entryId 
	 *          id of image