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 is deprecated. see ContactsContract

int KIND_EMAIL

This constant is deprecated. see ContactsContract

int KIND_IM

This constant is deprecated. see ContactsContract

int KIND_ORGANIZATION

This constant is deprecated. see ContactsContract

int KIND_PHONE

This constant is deprecated. see ContactsContract

int KIND_POSTAL

This constant is deprecated. see ContactsContract

Fields

public static final Uri CONTENT_URI

This field is deprecated. see ContactsContract

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

AUTHORITY

Added in API level 1
public static final String AUTHORITY

This constant is deprecated.
see ContactsContract

Constant Value: "contacts"

KIND_EMAIL

Added in API level 1
public static final int KIND_EMAIL

This constant is deprecated.
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
public static final int KIND_IM

This constant is deprecated.
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
public static final int KIND_ORGANIZATION

This constant is deprecated.
see ContactsContract

Signifies an Organization row that is stored in the Organizations table

Constant Value: 4 (0x00000004)

KIND_PHONE

Added in API level 1
public static final int KIND_PHONE

This constant is deprecated.
see ContactsContract

Signifies a Phone row that is stored in the Phones table

Constant Value: 5 (0x00000005)

KIND_POSTAL

Added in API level 1
public static final int KIND_POSTAL

This constant is deprecated.
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
public static final Uri CONTENT_URI

This field is deprecated.
see ContactsContract

The content:// style URL for this provider