IT. Expert System.

Android Reference

Contacts.People


android.provider

Class Contacts.People

    • Method Detail

      • markAsContacted

        @Deprecated
        public static void markAsContacted(ContentResolver resolver,
                                      long personId)
        Deprecated. see ContactsContract
        Mark a person as having been contacted.
        Parameters:
        resolver - the ContentResolver to use
        personId - the person who was contacted
      • addToMyContactsGroup

        @Deprecated
        public static Uri addToMyContactsGroup(ContentResolver resolver,
                                          long personId)
        Deprecated. see ContactsContract
        Adds a person to the My Contacts group.
        Parameters:
        resolver - the resolver to use
        personId - the person to add to the group
        Returns:
        the URI of the group membership row
        Throws:
        IllegalStateException - if the My Contacts group can't be found
      • addToGroup

        @Deprecated
        public static Uri addToGroup(ContentResolver resolver,
                                long personId,
                                String groupName)
        Deprecated. see ContactsContract
        Adds a person to a group referred to by name.
        Parameters:
        resolver - the resolver to use
        personId - the person to add to the group
        groupName - the name of the group to add the contact to
        Returns:
        the URI of the group membership row
        Throws:
        IllegalStateException - if the group can't be found
      • addToGroup

        @Deprecated
        public static Uri addToGroup(ContentResolver resolver,
                                long personId,
                                long groupId)
        Deprecated. see ContactsContract
        Adds a person to a group.
        Parameters:
        resolver - the resolver to use
        personId - the person to add to the group
        groupId - the group to add the person to
        Returns:
        the URI of the group membership row
      • createPersonInMyContactsGroup

        @Deprecated
        public static Uri createPersonInMyContactsGroup(ContentResolver resolver,
                                                   ContentValues values)
        Deprecated. see ContactsContract
        Creates a new contacts and adds it to the "My Contacts" group.
        Parameters:
        resolver - the ContentResolver to use
        values - the values to use when creating the contact
        Returns:
        the URI of the contact, or null if the operation fails
      • setPhotoData

        @Deprecated
        public static void setPhotoData(ContentResolver cr,
                                   Uri person,
                                   byte[] data)
        Deprecated. see ContactsContract
        Set the photo for this person. data may be null
        Parameters:
        cr - the ContentResolver to use
        person - the Uri of the person whose photo is to be updated
        data - the byte[] that represents the photo
      • openContactPhotoInputStream

        @Deprecated
        public static InputStream openContactPhotoInputStream(ContentResolver cr,
                                                         Uri person)
        Deprecated. see ContactsContract
        Opens an InputStream for the person's photo and returns the photo as a Bitmap. If the person's photo isn't present returns the placeholderImageResource instead.
        Parameters:
        person - the person whose photo should be used
      • loadContactPhoto

        @Deprecated
        public static Bitmap loadContactPhoto(Context context,
                                         Uri person,
                                         int placeholderImageResource,
                                         BitmapFactory.Options options)
        Deprecated. see ContactsContract
        Opens an InputStream for the person's photo and returns the photo as a Bitmap. If the person's photo isn't present returns the placeholderImageResource instead.
        Parameters:
        context - the Context
        person - the person whose photo should be used
        placeholderImageResource - the image resource to use if the person doesn't have a photo
        options - the decoding options, can be set to null


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: 186 / . Delta: 0.04216 с