Home
last modified time | relevance | path

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

12345

/frameworks/base/docs/html/guide/topics/text/
Dcopy-paste.jd59 <a href="#PasteContentUri">Pasting data from a content URI</a>
70 <a href="#Encoding">Encoding an identifier on the URI</a>
149 <dt>URI</dt>
151 A {@link android.net.Uri} object representing any form of URI. This is primarily for
176 primarily handles text you may want to ignore clip objects that contain a URI or Intent.
210 A {@link android.content.ClipData.Item} object contains the text, URI, or Intent data:
217 <dt>URI</dt>
219 A {@link android.net.Uri}. This usually contains a content provider URI, although any
220 URI is allowed. The application that provides the data puts the URI on the clipboard.
221 Applications that want to paste the data get the URI from the clipboard and use it to
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/provider/
DPhotoContract.java30 public static final String URI = "uri"; field
62 PhotoViewColumns.URI,
/frameworks/base/docs/html/training/contacts-provider/
Ddisplay-contact-badge.jd17 <a href="#SetURIThumbnail">Set the Contact URI and Thumbnail</a>
107 To display a contact in the {@link android.widget.QuickContactBadge}, you need a content URI
109 both the content URI and the {@link android.graphics.Bitmap} from columns retrieved from the
136 <h2 id="SetURIThumbnail">Set the Contact URI and Thumbnail</h2>
141 <h3>Set the Contact URI</h3>
143 To set the content URI for the contact, call
156 // A content URI for the desired contact
169 // Gets a content URI for the contact
183 Setting the contact URI for the {@link android.widget.QuickContactBadge} does not automatically
184 load the contact's thumbnail photo. To load the photo, get a URI for the photo from the
[all …]
/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
99 <dd>The path part of a URI. The {@code path} attribute specifies a complete
136 <dd>The port part of a URI authority. This attribute is meaningful only
142 <dd>The scheme part of a URI. This is the minimal essential attribute for
143 specifying a URI; at least one {@code scheme} attribute must be set
144 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,
Dprovider-element.jd51 string, part of the provider's <b>content URI</b>. For example, suppose you want to
55 arguments takes a URI that identifies the provider:
61 The <code>content:</code> <b>scheme</b> identifies the URI as a content URI pointing to
84 A list of one or more URI authorities that identify data offered by the content provider.
115 use the provider's content URI to access it, subject to the permissions specified for
172 to the URI in the Intent.
180 Context.revokeUriPermission()}</code> when a covered URI is deleted from
Dgrant-uri-permission-element.jd18 {@code content:} URI. (The authority part of the URI identifies the
/frameworks/base/core/java/android/net/http/
DHttpResponseCache.java29 import java.net.URI;
202 @Override public CacheResponse get(URI uri, String requestMethod, in get()
207 @Override public CacheRequest put(URI uri, URLConnection urlConnection) throws IOException { in put()
/frameworks/base/core/tests/coretests/src/android/net/http/
DHttpResponseCacheTest.java25 import java.net.URI;
75 @Override public CacheResponse get(URI uri, String requestMethod, in testGetInstalledWithWrongTypeInstalled()
79 @Override public CacheRequest put(URI uri, URLConnection connection) { in testGetInstalledWithWrongTypeInstalled()
/frameworks/wilhelm/src/
Ddata.c188 if (NULL == pDataLocator->mURI.URI) { in checkDataLocator()
193 size_t len = strlen((const char *) pDataLocator->mURI.URI); in checkDataLocator()
198 memcpy(myURI, pDataLocator->mURI.URI, len + 1); in checkDataLocator()
207 pDataLocator->mURI.URI = myURI; in checkDataLocator()
302 if (NULL != pDataLocator->mURI.URI) { in freeDataLocator()
303 free(pDataLocator->mURI.URI); in freeDataLocator()
304 pDataLocator->mURI.URI = NULL; in freeDataLocator()
306 pDataLocator->mURI.URI = NULL; in freeDataLocator()
/frameworks/base/docs/html/guide/components/
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/docs/html/guide/topics/providers/
Dcontent-provider-creating.jd273 A <strong>content URI</strong> is a URI that identifies data in a provider. Content URIs include
277 {@link android.content.ContentProvider} has a content URI as an argument; this allows you to
305 <h3>Handling content URI IDs</h3>
307 By convention, providers offer access to a single row in a table by accepting a content URI
308 with an ID value for the row at the end of the URI. Also by convention, providers match the
323 the content URI, and sends the access request to the provider. The provider can then do the
326 <h3>Content URI patterns</h3>
328 To help you choose which action to take for an incoming content URI, the provider API includes
329 the convenience class {@link android.content.UriMatcher}, which maps content URI "patterns" to
331 chooses the desired action for the content URI or URIs that match a particular pattern.
[all …]
Dcontent-provider-basics.jd248 UserDictionary.Words.CONTENT_URI, // The content URI of the words table
304 A <strong>content URI</strong> is a URI that identifies data in a provider. Content URIs
307 a client method to access a table in a provider, the content URI for the table is one of
312 {@link android.provider.UserDictionary.Words#CONTENT_URI} contains the content URI of
314 object parses out the URI's authority, and uses it to "resolve" the provider by
320 The {@link android.content.ContentProvider} uses the path part of the content URI to choose the
324 In the previous lines of code, the full URI for the "words" table is:
333 and identifies this as a content URI.
337 to the end of the URI. For example, to retrieve a row whose <code>_ID</code> is
338 <code>4</code> from user dictionary, you can use this content URI:
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseCursorPagerAdapter.java183 mRowIDColumn = newCursor.getColumnIndex(PhotoContract.PhotoViewColumns.URI); in swapCursor()
235 ? mCursor.getColumnIndex(PhotoContract.PhotoViewColumns.URI) : -1; in init()
/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.jd8 <p> Android ships with Activities that handle the following Intent URI/Action pairs. </p>
43 Uri(URI string)} factory. However, if you have not tried a
67 <td>Opens the Maps application to the given location or query. The Geo URI scheme
79 <td>Opens the Street View application to the given location. The URI scheme is
Dg-app-intents.jd19 <th scope="col">Intent URI</th>
52 Uri(URI string)} factory. However, if you have not tried a
77 <td>Opens the Maps application to the given location or query. The Geo URI scheme
90 <td>Opens the Street View application to the given location. The URI scheme is
Dglossary.jd74 <p>Related: <a href="#uri">URI Usage in Android</a></p></dd>
144 can express interest in specific data types, Intent actions, URI formats,
235 <dd>Android uses URI strings as the basis for requesting data in a content
237 actions in an Intent (such as opening a Web page in a browser). The URI
239 application can handle specific URI schemes and strings in any way it
240 wants. Some URI schemes are reserved by system components. For example,
242 <code>content://</code>. In an Intent, a URI using an <code>http://</code>
/frameworks/base/core/java/android/provider/
DApplications.java125 public static final String URI = "uri"; field
/frameworks/base/docs/html/guide/topics/connectivity/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/wilhelm/tests/mimeUri/
DslesTestPlayUri2.cpp126 uri.URI = (SLchar*) path; in TestPlayUri()
142 uri.URI = (SLchar*) path2; in TestPlayUri()
/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd196 <p>The default behavior is for system to pass this URI and append it with the query text.
202 <p>The query text on the end is encoded using URI encoding rules, so you might need to decode
204 <p>The <em>{@code optional.suggest.path}</em> portion is only included in the URI if you have set
210 string provided in the URI, but a constant that you should use if you need to refer to this
235 URI passed in the {@code uri} parameter. However, if you include a selection value in your
258 <p>Instead of using the URI, you might decide it makes more sense for your {@link
351 <dd>A drawable resource, content, or file URI string. If your Cursor includes this column, then
355 <dd>A drawable resource, content, or file URI string. If your Cursor includes this column, then
366 <dd>A data URI string. If this column exists and contains a value at the given row, this is the
375 <dd>A URI path string. If this column exists and contains a value at the given row, then "/" and
[all …]
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java33 import javax.sip.address.URI;
123 URI uri = mAddressFactory.createURI(fix(uriString)); in Builder()
/frameworks/base/services/java/com/android/server/am/
DEventLogTags.logtags21 …User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5)
25 …User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5)
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd71 or more attributes in this element, you can specify just the MIME type, just a URI prefix,
72 just a URI scheme, or a combination of these and others that indicate the data type
76 of a URI), you should specify only the {@code android:mimeType} attribute to declare the type of
125 the recipient's address using the {@code send} or {@code sendto} URI scheme. For example:</p>
129 &lt;!-- filter for sending text; accepts SENDTO action with sms URI schemes -->

12345