Best code examples for Android Uri.Builder class (android.net.Uri.Builder)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Android Uri.Builder class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Android Uri.Builder examples from Open Source projects
This code example shows how to use the following methods: appendQueryParameter, authority, path, scheme
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
This code example shows how to use the following methods: appendPath, authority, build, scheme
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
This code example shows how to use the following methods: appendPath, authority, build, scheme
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
This code example shows how to use the following methods: appendPath, authority, build, scheme
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
This code example shows how to use the following methods: appendQueryParameter
163:	builder.appendQueryParameter(field, value); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: build, scheme
121:	Builder b = new Uri.Builder(); 
122:	b.scheme("tel").appendPath(number); 
123:	i.setData(b.build()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: appendQueryParameter, path
118:	 
119:	} 
-
130:	uri.appendQueryParameter(PARAM_MD5, VALUE_MD5); 
131:	uri.appendQueryParameter(PARAM_TABLE_NAME, VALUE_TABLE_NAME); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: appendPath, authority, build, scheme
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
This code example shows how to use the following methods: appendPath, build
20:	localBuilder.appendPath("notifications"); 
21:	localBuilder.appendPath(String.valueOf(paramLong)); 
22:	return localBuilder.build(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: appendQueryParameter, path
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
This code example shows how to use the following methods: appendId, build
54:	ContentUris.appendId( builder, eventId ); 
55:	uri = builder.build(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: appendId, appendPath, build
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
This code example shows how to use the following methods: build, scheme
58:	Builder b = new Uri.Builder(); 
59:	b.scheme("tel").appendPath(number); 
60:	i.setData( b.build() ); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: build, scheme
18:	Builder b = new Builder(); 
19:	b.scheme("http") 
-
23:	return b.build(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: appendPath, authority, build, scheme
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
This code example shows how to use the following methods: appendQueryParameter, toString
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
This code example shows how to use the following methods: appendQueryParameter, toString
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
This code example shows how to use the following methods: appendQueryParameter, toString
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
This code example shows how to use the following methods: authority
37:	Builder b = new Uri.Builder(); 
38:	return b.authority(STNPROVIDER_AUTHORITY).path(urlpath).build(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: appendQueryParameter, build
68:	uriBuilder.appendQueryParameter("apikey", apiKey); 
69:	uri = uriBuilder.build(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
26:	Uri.Builder localBuilder = new Uri.Builder().scheme(paramUri.getScheme()).authority(paramUri.getAuthority()); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
10:	private static final Uri j = new Uri.Builder().scheme("android.resource").authority("com.google.android.gms").appendPath("drawable").build(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: appendQueryParameter
165:	builder.appendQueryParameter(field, value); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: appendQueryParameter
163:	builder.appendQueryParameter(field, value); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
10:	private static final Uri j = new Uri.Builder().scheme("android.resource").authority("com.google.android.gms").appendPath("drawable").build(); 
Full Snippet Info
4
CodeRank
Related Android Uri.Builder Questions & Answers:
See Code Examples for Android Uri.Builder Methods: