Code examples for Uri.Builder

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
136:	Builder youtubeUri = new Builder(); 
137:	youtubeUri.scheme("http"); 
138:	youtubeUri.authority("m.youtube.com"); 
139:	youtubeUri.path("results"); 
140:	youtubeUri.appendQueryParameter("q", new StringBuilder("\"").append(movie.getMovieName()).append("\" trailer").toString()); 
Full Snippet Info
7
CodeRank
80:	Builder builder = new Uri.Builder(); 
81:	builder.scheme("content"); 
82:	builder.authority("jabber-chat-db"); 
83:	builder.appendPath(bareTo); 
84:	builder.appendPath(bareFrom); 
85:	context.getContentResolver().notifyChange(builder.build(), null); 
Full Snippet Info
7
CodeRank
146:	Builder builder = new Uri.Builder(); 
147:	builder.scheme("content"); 
148:	builder.authority("jabber-chat-db"); 
149:	builder.appendPath(accountJid); 
150:	builder.appendPath(jid); 
151:	cursor.setNotificationUri(context.getContentResolver(), builder.build()); 
Full Snippet Info
7
CodeRank
244:	Builder builder = new Uri.Builder(); 
245:	builder.scheme("content"); 
246:	builder.authority("jabber-chat-db"); 
247:	builder.appendPath(from); 
248:	builder.appendPath(to); 
-
251:	.notifyChange(builder.build(), null); 
Full Snippet Info
6
CodeRank
163:	builder.appendQueryParameter(field, value); 
Full Snippet Info
5
CodeRank
121:	Builder b = new Uri.Builder(); 
122:	b.scheme("tel").appendPath(number); 
123:	i.setData(b.build()); 
Full Snippet Info
5
CodeRank
118:	 
119:	} 
-
130:	uri.appendQueryParameter(PARAM_MD5, VALUE_MD5); 
131:	uri.appendQueryParameter(PARAM_TABLE_NAME, VALUE_TABLE_NAME); 
Full Snippet Info
5
CodeRank
165:	Builder builder = new Uri.Builder(); 
166:	builder.scheme("content"); 
167:	builder.authority("jabber-chat-db"); 
168:	builder.appendPath(accountJid); 
169:	builder.appendPath(jid); 
170:	historyCursor.setNotificationUri(context.getContentResolver(), builder.build()); 
Full Snippet Info
6
CodeRank
20:	localBuilder.appendPath("notifications"); 
21:	localBuilder.appendPath(String.valueOf(paramLong)); 
22:	return localBuilder.build(); 
Full Snippet Info
6
CodeRank
112:	uri.appendQueryParameter(PARAM_MD5, VALUE_MD5); 
113:	uri.appendQueryParameter(PARAM_TABLE_NAME, VALUE_TABLE_NAME); 
-
118:	final Builder builder = new Builder(); 
119:	builder.path(API_REST_URL); 
Full Snippet Info
5
CodeRank
54:	ContentUris.appendId( builder, eventId ); 
55:	uri = builder.build(); 
Full Snippet Info
5
CodeRank
145:	ContentUris.appendId(builder, trackId); 
146:	builder.appendPath(Segments.TABLE); 
147:	ContentUris.appendId(builder, segmentId); 
148:	builder.appendPath(Waypoints.TABLE); 
149:	ContentUris.appendId(builder, waypointId); 
-
151:	return builder.build(); 
Full Snippet Info
5
CodeRank
58:	Builder b = new Uri.Builder(); 
59:	b.scheme("tel").appendPath(number); 
60:	i.setData( b.build() ); 
Full Snippet Info
5
CodeRank
18:	Builder b = new Builder(); 
19:	b.scheme("http") 
-
23:	return b.build(); 
Full Snippet Info
5
CodeRank
408:	Builder builder = new Uri.Builder(); 
409:	builder.scheme("content"); 
410:	builder.authority("jabber-chat-db"); 
411:	builder.appendPath(this.from); 
412:	builder.appendPath(this.to); 
-
415:	.notifyChange(builder.build(), null); 
Full Snippet Info
5
CodeRank
207:	urlBuilder.appendQueryParameter("q", sb); 
208:	urlBuilder.appendQueryParameter("ll", String.format("%f,%f", location.getLatitude(), location.getLongitude())); 
-
212:	urlBuilder.appendQueryParameter("q", String.format("%f,%f", location.getLatitude(), location.getLongitude())); 
-
214:	String locationString =  String.format(" Search me at %1$s", urlBuilder.toString()); 
Full Snippet Info
5
CodeRank
199:	urlBuilder.appendQueryParameter("q", sb); 
200:	urlBuilder.appendQueryParameter("ll", String.format("%f,%f", location.getLatitude(), location.getLongitude())); 
-
204:	urlBuilder.appendQueryParameter("q", String.format("%f,%f", location.getLatitude(), location.getLongitude())); 
-
206:	String locationString =  String.format(" Search me at %1$s", urlBuilder.toString()); 
Full Snippet Info
5
CodeRank
201:	urlBuilder.appendQueryParameter("ll", String.format("%f,%f", location.getLatitude(), location.getLongitude())); 
202:	urlBuilder.appendQueryParameter("q", sb); 
-
206:	urlBuilder.appendQueryParameter("q", String.format("%f,%f", location.getLatitude(), location.getLongitude())); 
-
208:	String locationString =  String.format(" Search me at %1$s", urlBuilder.toString()); 
Full Snippet Info
5
CodeRank
68:	uriBuilder.appendQueryParameter("apikey", apiKey); 
69:	uri = uriBuilder.build(); 
Full Snippet Info
4
CodeRank