Home
last modified time | relevance | path

Searched refs:URI (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/docs/html/guide/topics/clipboard/
Dcopy-paste.jd58 <a href="#PasteContentUri">Pasting data from a content URI</a>
69 <a href="#Encoding">Encoding an identifier on the URI</a>
148 <dt>URI</dt>
150 A {@link android.net.Uri} object representing any form of URI. This is primarily for
175 primarily handles text you may want to ignore clip objects that contain a URI or Intent.
209 A {@link android.content.ClipData.Item} object contains the text, URI, or Intent data:
216 <dt>URI</dt>
218 A {@link android.net.Uri}. This usually contains a content provider URI, although any
219 URI is allowed. The application that provides the data puts the URI on the clipboard.
220 Applications that want to paste the data get the URI from the clipboard and use it to
[all …]
/frameworks/base/docs/html/resources/articles/
Dwikinotes-intents.jd9 have defined) into a <code>content:</code> URI and defining a path to data that
11 <code>ToDoList</code> would be turned into a URI such as
16 <code>VIEW</code> action and <code>content:</code> URI and finds the correct
33 …<li>When the user selects a link, Linkify calls the VIEW action using the content: URI associated …
34 <li>Android takes the content: URI that represents the data, and looks for a
35 ContentProvider registered in the system that matches the URI.</li>
36 <li>If a match is found, Android queries the ContentProvider using the URI,
37 and asks what MIME type the data that will be returned from the URI is.</li>
40 the data represented by the content: URI.</li>
42 the URI, at which point the activity takes over, and is handed
[all …]
Dwikinotes-linkify.jd23 the matched text is added, forms a Content URI to allow the correct
29 spaces). Linkify can then turn this into a Content URI &mdash; something like
79 following content URI:</p>
103 content URI:</p>
108 URI.</p>
111 understands that Content URI, and you will need a default activity
Dlive-folders.jd52 content URI. The content URI is very important as it describes what
90 intent, returns an intent with a URI,
97 the provided URI.</p>
111 <code>content://shelves/live_folders/books</code> content URI:</p>
151 throw new IllegalArgumentException("Unknown URI " + uri);
169 content URI. If you want to see more examples of live folders
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-providers.jd13 <li><a href="#urisum">Content URI summary</a></li>
161 Each content provider exposes a public URI (wrapped as a {@link android.net.Uri}
163 multiple data sets (multiple tables) exposes a separate URI for each one. All
170 constant for its URI, to simplify client code and make future updates cleaner.
172 with the platform. For example, the URI for the table that matches
173 phone numbers to people and the URI for the table that holds pictures of
183 The URI constant is used in all interactions with the content provider.
184 Every {@link android.content.ContentResolver} method takes the URI
197 <li>The URI that identifies the provider</li>
226 or <code>{@link android.app.Activity#managedQuery managedQuery()}</code> is the provider URI
[all …]
/frameworks/base/core/tests/coretests/src/android/net/http/
DHttpResponseCacheTest.java23 import java.net.URI;
71 @Override public CacheResponse get(URI uri, String requestMethod, in testGetInstalledWithWrongTypeInstalled()
75 @Override public CacheRequest put(URI uri, URLConnection connection) { in testGetInstalledWithWrongTypeInstalled()
/frameworks/base/core/java/android/net/http/
DHttpResponseCache.java27 import java.net.URI;
187 @Override public CacheResponse get(URI uri, String requestMethod, in get()
192 @Override public CacheRequest put(URI uri, URLConnection urlConnection) throws IOException { in put()
DAndroidHttpClient.java57 import java.net.URI;
419 URI uri = request.getURI(); in toCurl()
/frameworks/base/docs/html/guide/topics/manifest/
Ddata-element.jd23 just a URI, or both a data type and a URI. A URI is specified by separate
32 intent filter, all the other URI attributes are ignored. If a
74 <dd>The host part of a URI authority. This attribute is meaningless
96 <dd>The path part of a URI. The {@code path} attribute specifies a complete
133 <dd>The port part of a URI authority. This attribute is meaningful only
139 <dd>The scheme part of a URI. This is the minimal essential attribute for
140 specifying a URI; at least one {@code scheme} attribute must be set
141 for the filter, or none of the other URI attributes are meaningful.
Dpath-permission-element.jd36 <dd>A complete URI path for a subset of content provider data.
43 <dd>The initial part of a URI path for a subset of content provider data.
48 <dd>A complete URI path for a subset of content provider data,
Dgrant-uri-permission-element.jd18 {@code content:} URI. (The authority part of the URI identifies the
Dprovider-element.jd45 of a {@code content:} URI. For example, suppose that the following URI
56 ContentProvider subclass. The path part of a URI may be used by a content
69 <dd>A list of one or more URI authorities that identify data under the purview
137 to the URI in the Intent.
145 Context.revokeUriPermission()}</code> when a covered URI is deleted from
/frameworks/base/docs/html/guide/topics/intents/
Dintents-filters.jd197 <dd>The URI of the data to be acted on and the MIME type of that data. Different
200 the data field would contain the URI of the document to be displayed for editing.
201 If the action is {@code ACTION_CALL}, the data field would be a {@code tel:} URI
203 data field is an {@code http:} URI, the receiving activity would be called upon
204 to download and display whatever data the URI refers to.
208 it's often important to know the type of data (its MIME type) in addition to its URI.
214 In many cases, the data type can be inferred from the URI &mdash; particularly
221 data only as a URI, <code>{@link android.content.Intent#setType setType()}</code>
224 a URI and a MIME type. The URI is read by <code>{@link
360 <br/>data (both URI and data type)
[all …]
/frameworks/base/core/java/android/net/
DProxy.java35 import java.net.URI;
113 URI uri = URI.create(url); in getProxy()
/frameworks/base/docs/html/guide/appendix/
Dapp-intents.jd7 <p> Android ships with Activities that handle the following Intent URI/Action pairs. </p>
42 Uri(URI string)} factory. However, if you have not tried a
66 <td>Opens the Maps application to the given location or query. The Geo URI scheme
78 <td>Opens the Street View application to the given location. The URI scheme is
Dg-app-intents.jd18 <th scope="col">Intent URI</th>
51 Uri(URI string)} factory. However, if you have not tried a
76 <td>Opens the Maps application to the given location or query. The Geo URI scheme
89 <td>Opens the Street View application to the given location. The URI scheme is
Dglossary.jd73 <p>Related: <a href="#uri">URI Usage in Android</a></p></dd>
143 can express interest in specific data types, Intent actions, URI formats,
234 <dd>Android uses URI strings as the basis for requesting data in a content
236 actions in an Intent (such as opening a Web page in a browser). The URI
238 application can handle specific URI schemes and strings in any way it
239 wants. Some URI schemes are reserved by system components. For example,
241 <code>content://</code>. In an Intent, a URI using an <code>http://</code>
/frameworks/base/docs/html/guide/publishing/
Dpublishing.jd27 <li><a href="#UriSummary">Summary of URI formats</a></li>
176 page, the URIs are quite similar. The only difference is the URI prefix.</p>
179 URI is:</p>
183 <p>To open Android Market from your web site, the prefix for the link URI is:</p>
187 <p>The following sections describe how to create a complete URI for each action.</p>
203 <p>The format for the URI that opens the details page is:</p>
217 create an intent with the {@link android.content.Intent#ACTION_VIEW} action and include a data URI
237 <p>To open the details page from your web site, create a link with a URI in this
259 <p>To initiate a search in Android Market, the format for the URI is:</p>
283 {@link android.content.Intent#ACTION_VIEW} action and include a data URI in this format:</p>
[all …]
/frameworks/base/docs/html/guide/topics/nfc/
Dnfc.jd86 <li>Parsing the NFC tag and figuring out the MIME type or a URI that identifies the data payload
88 <li>Encapsulating the MIME type or URI and the payload into an intent. These first two
123 URI. To do this, the system reads the first {@link android.nfc.NdefRecord} inside the {@link
148 <p>The tag dispatch system uses the TNF and type fields to try to map a MIME type or URI to the
152 record. This happens when the NDEF data cannot be mapped to a MIME type or URI, or when the
159 fields to MIME types or URIs. It also describes which TNFs cannot be mapped to a MIME type or URI.
165 into a URI. The tag dispatch system encapsulates that URI in the data field of an {@link
181 <td>URI based on the type field.</td>
187 <td>URI based on the URN in the type field. The URN is encoded into the NDEF type field in
189 Android maps this to a URI in the form:
[all …]
/frameworks/base/core/java/android/provider/
DApplications.java125 public static final String URI = "uri"; field
/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd197 <p>The default behavior is for system to pass this URI and append it with the query text.
203 <p>The query text on the end is encoded using URI encoding rules, so you might need to decode
205 <p>The <em>{@code optional.suggest.path}</em> portion is only included in the URI if you have set
211 string provided in the URI, but a constant that you should use if you need to refer to this
236 URI passed in the {@code uri} parameter. However, if you include a selection value in your
259 <p>Instead of using the URI, you might decide it makes more sense for your {@link
352 <dd>A drawable resource, content, or file URI string. If your Cursor includes this column, then
356 <dd>A drawable resource, content, or file URI string. If your Cursor includes this column, then
367 <dd>A data URI string. If this column exists and contains a value at the given row, this is the
376 <dd>A URI path string. If this column exists and contains a value at the given row, then "/" and
[all …]
/frameworks/base/voip/java/android/net/sip/
DSipProfile.java33 import javax.sip.address.URI;
116 URI uri = mAddressFactory.createURI(fix(uriString)); in Builder()
/frameworks/base/services/java/com/android/server/am/
DEventLogTags.logtags21 30003 am_new_intent (Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(…
25 30005 am_create_activity (Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI
/frameworks/base/docs/html/guide/topics/security/
Dsecurity.jd19 <li><a href="#uri">URI Permissions</a></li>
35 that a particular process can perform, and per-URI permissions for granting
304 <a href="#uri">URI permissions</a> which is described later.)
365 <h2>URI Permissions</h2>
373 if a URI to an image attachment is given to an image viewer, that image viewer
377 <p>The solution to this problem is per-URI permissions: when starting an
383 permission access the specific data URI in the Intent, regardless of whether
393 <p>The granting of fine-grained URI permissions does, however, require some
/frameworks/base/core/java/android/widget/
DRemoteViews.java644 static final int URI = 11; field in RemoteViews.ReflectionAction
701 case URI: in ReflectionAction()
759 case URI: in writeToParcel()
798 case URI: in getParameterType()
1510 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.URI, value)); in setUri()

123