Most visited

Recently visited

Added in API level 1
Deprecated since API level 5

Contacts

public class Contacts
extends Object

java.lang.Object
   ↳ android.provider.Contacts


This class was deprecated in API level 5.
The APIs have been superseded by ContactsContract. The newer APIs allow access multiple accounts and support aggregation of similar contacts. These APIs continue to work but will only return data for the first Google account created, which matches the original behavior.

The Contacts provider stores all information about contacts.

Summary

Nested classes

class Contacts.ContactMethods

This class was deprecated in API level 5. see ContactsContract  

interface Contacts.ContactMethodsColumns

This interface was deprecated in API level 5. see ContactsContract  

class Contacts.Extensions

This class was deprecated in API level 5. see ContactsContract  

interface Contacts.ExtensionsColumns

This interface was deprecated in API level 5. see ContactsContract  

class Contacts.GroupMembership

This class was deprecated in API level 5. see ContactsContract  

class Contacts.Groups

This class was deprecated in API level 5. see ContactsContract  

interface Contacts.GroupsColumns

This interface was deprecated in API level 5. see ContactsContract  

class Contacts.Intents

This class was deprecated in API level 5. see ContactsContract  

interface Contacts.OrganizationColumns

This interface was deprecated in API level 5. see ContactsContract  

class Contacts.Organizations

This class was deprecated in API level 5. see ContactsContract  

class Contacts.People

This class was deprecated in API level 5. see ContactsContract  

interface Contacts.PeopleColumns

This interface was deprecated in API level 5. see ContactsContract  

class Contacts.Phones

This class was deprecated in API level 5. see ContactsContract  

interface Contacts.PhonesColumns

This interface was deprecated in API level 5. see ContactsContract  

class Contacts.Photos

This class was deprecated in API level 5. see ContactsContract  

interface Contacts.PhotosColumns

This interface was deprecated in API level 5. see ContactsContract  

interface Contacts.PresenceColumns

This interface was deprecated in API level 5. see ContactsContract  

class Contacts.Settings

This class was deprecated in API level 5. see ContactsContract  

interface Contacts.SettingsColumns

This interface was deprecated in API level 5. see ContactsContract  

Constants

String AUTHORITY

This constant was deprecated in API level 5. see ContactsContract

int KIND_EMAIL

This constant was deprecated in API level 5. see ContactsContract

int KIND_IM

This constant was deprecated in API level 5. see ContactsContract

int KIND_ORGANIZATION

This constant was deprecated in API level 5. see ContactsContract

int KIND_PHONE

This constant was deprecated in API level 5. see ContactsContract

int KIND_POSTAL

This constant was deprecated in API level 5. see ContactsContract

Fields

public static final Uri CONTENT_URI

This field was deprecated in API level 5. see ContactsContract

Inherited methods

From class java.lang.Object

Constants

AUTHORITY

Added in API level 1
String AUTHORITY

This constant was deprecated in API level 5.
see ContactsContract

Constant Value: "contacts"

KIND_EMAIL

Added in API level 1
int KIND_EMAIL

This constant was deprecated in API level 5.
see ContactsContract

Signifies an email address row that is stored in the ContactMethods table

Constant Value: 1 (0x00000001)

KIND_IM

Added in API level 1
int KIND_IM

This constant was deprecated in API level 5.
see ContactsContract

Signifies an IM address row that is stored in the ContactMethods table

Constant Value: 3 (0x00000003)

KIND_ORGANIZATION

Added in API level 1
int KIND_ORGANIZATION

This constant was deprecated in API level 5.
see ContactsContract

Signifies an Organization row that is stored in the Organizations table

Constant Value: 4 (0x00000004)

KIND_PHONE

Added in API level 1
int KIND_PHONE

This constant was deprecated in API level 5.
see ContactsContract

Signifies a Phone row that is stored in the Phones table

Constant Value: 5 (0x00000005)

KIND_POSTAL

Added in API level 1
int KIND_POSTAL

This constant was deprecated in API level 5.
see ContactsContract

Signifies a postal address row that is stored in the ContactMethods table

Constant Value: 2 (0x00000002)

Fields

CONTENT_URI

Added in API level 1
Uri CONTENT_URI

This field was deprecated in API level 5.
see ContactsContract

The content:// style URL for this provider

Hooray!