android.provider
Class ContactsContract.Contacts

java.lang.Object
  extended by android.provider.ContactsContract.Contacts
All Implemented Interfaces:
BaseColumns, ContactsContract.ContactNameColumns, ContactsContract.ContactOptionsColumns, ContactsContract.ContactsColumns, ContactsContract.ContactStatusColumns
Enclosing class:
ContactsContract

public static class ContactsContract.Contacts
extends Object
implements BaseColumns, ContactsContract.ContactsColumns, ContactsContract.ContactOptionsColumns, ContactsContract.ContactNameColumns, ContactsContract.ContactStatusColumns


Nested Class Summary
static class ContactsContract.Contacts.AggregationSuggestions
           
static class ContactsContract.Contacts.Data
           
static class ContactsContract.Contacts.Entity
           
static class ContactsContract.Contacts.Photo
           
 
Field Summary
static Uri CONTENT_FILTER_URI
           
static Uri CONTENT_GROUP_URI
           
static String CONTENT_ITEM_TYPE
           
static Uri CONTENT_LOOKUP_URI
           
static Uri CONTENT_STREQUENT_FILTER_URI
           
static Uri CONTENT_STREQUENT_URI
           
static String CONTENT_TYPE
           
static Uri CONTENT_URI
           
static String CONTENT_VCARD_TYPE
           
static Uri CONTENT_VCARD_URI
           
 
Fields inherited from interface android.provider.BaseColumns
_COUNT, _ID
 
Fields inherited from interface android.provider.ContactsContract.ContactsColumns
DISPLAY_NAME, HAS_PHONE_NUMBER, IN_VISIBLE_GROUP, IS_USER_PROFILE, LOOKUP_KEY, PHOTO_FILE_ID, PHOTO_ID, PHOTO_THUMBNAIL_URI, PHOTO_URI
 
Fields inherited from interface android.provider.ContactsContract.ContactOptionsColumns
CUSTOM_RINGTONE, LAST_TIME_CONTACTED, SEND_TO_VOICEMAIL, STARRED, TIMES_CONTACTED
 
Fields inherited from interface android.provider.ContactsContract.ContactNameColumns
DISPLAY_NAME_ALTERNATIVE, DISPLAY_NAME_PRIMARY, DISPLAY_NAME_SOURCE, PHONETIC_NAME, PHONETIC_NAME_STYLE, SORT_KEY_ALTERNATIVE, SORT_KEY_PRIMARY
 
Fields inherited from interface android.provider.ContactsContract.ContactStatusColumns
CONTACT_CHAT_CAPABILITY, CONTACT_PRESENCE, CONTACT_STATUS, CONTACT_STATUS_ICON, CONTACT_STATUS_LABEL, CONTACT_STATUS_RES_PACKAGE, CONTACT_STATUS_TIMESTAMP
 
Method Summary
static Uri getLookupUri(ContentResolver resolver, Uri contactUri)
           
static Uri getLookupUri(long contactId, String lookupKey)
           
static Uri lookupContact(ContentResolver resolver, Uri lookupUri)
           
static void markAsContacted(ContentResolver resolver, long contactId)
           
static InputStream openContactPhotoInputStream(ContentResolver cr, Uri contactUri)
           
static InputStream openContactPhotoInputStream(ContentResolver cr, Uri contactUri, boolean preferHighres)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_URI

public static final Uri CONTENT_URI

CONTENT_LOOKUP_URI

public static final Uri CONTENT_LOOKUP_URI

CONTENT_VCARD_URI

public static final Uri CONTENT_VCARD_URI

CONTENT_FILTER_URI

public static final Uri CONTENT_FILTER_URI

CONTENT_STREQUENT_URI

public static final Uri CONTENT_STREQUENT_URI

CONTENT_STREQUENT_FILTER_URI

public static final Uri CONTENT_STREQUENT_FILTER_URI

CONTENT_GROUP_URI

public static final Uri CONTENT_GROUP_URI

CONTENT_TYPE

public static final String CONTENT_TYPE
See Also:
Constant Field Values

CONTENT_ITEM_TYPE

public static final String CONTENT_ITEM_TYPE
See Also:
Constant Field Values

CONTENT_VCARD_TYPE

public static final String CONTENT_VCARD_TYPE
See Also:
Constant Field Values
Method Detail

getLookupUri

public static Uri getLookupUri(ContentResolver resolver,
                               Uri contactUri)

getLookupUri

public static Uri getLookupUri(long contactId,
                               String lookupKey)

lookupContact

public static Uri lookupContact(ContentResolver resolver,
                                Uri lookupUri)

markAsContacted

public static void markAsContacted(ContentResolver resolver,
                                   long contactId)

openContactPhotoInputStream

public static InputStream openContactPhotoInputStream(ContentResolver cr,
                                                      Uri contactUri,
                                                      boolean preferHighres)

openContactPhotoInputStream

public static InputStream openContactPhotoInputStream(ContentResolver cr,
                                                      Uri contactUri)


Copyright © 2008-2012. All Rights Reserved.