IT. Expert System.

Android Reference

ContactsContract.CommonDataKinds.Email


android.provider

Class ContactsContract.CommonDataKinds.Email

    • Field Detail

      • CONTENT_ITEM_TYPE

        public static final String CONTENT_ITEM_TYPE
        MIME type used when storing this in data table.
        See Also:
        Constant Field Values
      • CONTENT_URI

        public static final Uri CONTENT_URI
        The content:// style URI for all data records of the CONTENT_ITEM_TYPE MIME type, combined with the associated raw contact and aggregate contact data.
      • CONTENT_LOOKUP_URI

        public static final Uri CONTENT_LOOKUP_URI

        The content:// style URL for looking up data rows by email address. The lookup argument, an email address, should be passed as an additional path segment after this URI.

        Example:

         Uri uri = Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, Uri.encode(email));
         Cursor c = getContentResolver().query(uri,
                  new String[]{Email.CONTACT_ID, Email.DISPLAY_NAME, Email.DATA},
                  null, null, null);
         

      • CONTENT_FILTER_URI

        public static final Uri CONTENT_FILTER_URI

        The content:// style URL for email lookup using a filter. The filter returns records of MIME type CONTENT_ITEM_TYPE. The filter is applied to display names as well as email addresses. The filter argument should be passed as an additional path segment after this URI.

        The query in the following example will return "Robert Parr (bob@incredibles.com)" as well as "Bob Parr (incredible@android.com)".

         Uri uri = Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, Uri.encode("bob"));
         Cursor c = getContentResolver().query(uri,
                  new String[]{Email.DISPLAY_NAME, Email.DATA},
                  null, null, null);
         

      • DISPLAY_NAME

        public static final String DISPLAY_NAME
        The display name for the email address

        Type: TEXT

        See Also:
        Constant Field Values


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 923 / . Delta: 0.03279 с