java.lang.Object | |
↳ | android.provider.Contacts.People |
This class was deprecated
in API level 5.
see ContactsContract
This table contains people.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Contacts.People.ContactMethods |
This class was deprecated
in API level 5.
see ContactsContract
|
||||||||||
Contacts.People.Extensions |
This class was deprecated
in API level 5.
see ContactsContract
|
||||||||||
Contacts.People.Phones |
This class was deprecated
in API level 5.
see ContactsContract
|
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CONTENT_ITEM_TYPE |
This constant was deprecated
in API level 5.
see ContactsContract
|
|||||||||
String | CONTENT_TYPE |
This constant was deprecated
in API level 5.
see ContactsContract
|
|||||||||
String | DEFAULT_SORT_ORDER |
This constant was deprecated
in API level 5.
see ContactsContract
|
|||||||||
String | PRIMARY_EMAIL_ID |
This constant was deprecated
in API level 5.
see ContactsContract
|
|||||||||
String | PRIMARY_ORGANIZATION_ID |
This constant was deprecated
in API level 5.
see ContactsContract
|
|||||||||
String | PRIMARY_PHONE_ID |
This constant was deprecated
in API level 5.
see ContactsContract
|
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.provider.BaseColumns
| |||||||||||
From interface
android.provider.Contacts.PeopleColumns
| |||||||||||
From interface
android.provider.Contacts.PhonesColumns
| |||||||||||
From interface
android.provider.Contacts.PresenceColumns
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CONTENT_FILTER_URI |
This field was deprecated
in API level 5.
see ContactsContract
|
||||||||||
CONTENT_URI |
This field was deprecated
in API level 5.
see ContactsContract
|
||||||||||
DELETED_CONTENT_URI |
This field was deprecated
in API level 5.
see ContactsContract
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method was deprecated
in API level 5.
see
ContactsContract
| |||||||||||
This method was deprecated
in API level 5.
see
ContactsContract
| |||||||||||
This method was deprecated
in API level 5.
see
ContactsContract
| |||||||||||
This method was deprecated
in API level 5.
see
ContactsContract
| |||||||||||
This method was deprecated
in API level 5.
see
ContactsContract
| |||||||||||
This method was deprecated
in API level 5.
see
ContactsContract
| |||||||||||
This method was deprecated
in API level 5.
see
ContactsContract
| |||||||||||
This method was deprecated
in API level 5.
see
ContactsContract
| |||||||||||
This method was deprecated
in API level 5.
see
ContactsContract
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This constant was deprecated
in API level 5.
see ContactsContract
The MIME type of a CONTENT_URI
subdirectory of a single
person.
This constant was deprecated
in API level 5.
see ContactsContract
The MIME type of CONTENT_URI
providing a directory of
people.
This constant was deprecated
in API level 5.
see ContactsContract
The default sort order for this table
This constant was deprecated
in API level 5.
see ContactsContract
The ID of the persons preferred email.
Type: INTEGER (foreign key to contact_methods table on the _ID field)
This constant was deprecated
in API level 5.
see ContactsContract
The ID of the persons preferred organization.
Type: INTEGER (foreign key to organizations table on the _ID field)
This constant was deprecated
in API level 5.
see ContactsContract
The ID of the persons preferred phone number.
Type: INTEGER (foreign key to phones table on the _ID field)
This field was deprecated
in API level 5.
see ContactsContract
The content:// style URL for filtering people by name. The filter argument should be passed as an additional path segment after this URI.
This field was deprecated
in API level 5.
see ContactsContract
The content:// style URL for this table
This field was deprecated
in API level 5.
see ContactsContract
The content:// style URL for the table that holds the deleted contacts.
This method was deprecated
in API level 5.
see ContactsContract
Adds a person to a group.
resolver | the resolver to use |
---|---|
personId | the person to add to the group |
groupId | the group to add the person to |
This method was deprecated
in API level 5.
see ContactsContract
Adds a person to a group referred to by name.
resolver | the resolver to use |
---|---|
personId | the person to add to the group |
groupName | the name of the group to add the contact to |
IllegalStateException | if the group can't be found |
---|
This method was deprecated
in API level 5.
see ContactsContract
Adds a person to the My Contacts group.
resolver | the resolver to use |
---|---|
personId | the person to add to the group |
IllegalStateException | if the My Contacts group can't be found |
---|
This method was deprecated
in API level 5.
see ContactsContract
Creates a new contacts and adds it to the "My Contacts" group.
resolver | the ContentResolver to use |
---|---|
values | the values to use when creating the contact |
This method was deprecated
in API level 5.
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.
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 |
This method was deprecated
in API level 5.
see ContactsContract
Mark a person as having been contacted.
resolver | the ContentResolver to use |
---|---|
personId | the person who was contacted |
This method was deprecated
in API level 5.
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.
person | the person whose photo should be used |
---|
This method was deprecated
in API level 5.
see ContactsContract
Set the photo for this person. data may be null
cr | the ContentResolver to use |
---|---|
person | the Uri of the person whose photo is to be updated |
data | the byte[] that represents the photo |