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  | 
| 
        
        
        
        
        interface | Contacts.ContactMethodsColumns
      This interface was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        class | Contacts.Extensions
      This class was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        interface | Contacts.ExtensionsColumns
      This interface was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        class | Contacts.GroupMembership
      This class was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        class | Contacts.Groups
      This class was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        interface | Contacts.GroupsColumns
      This interface was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        class | Contacts.Intents
      This class was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        interface | Contacts.OrganizationColumns
      This interface was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        class | Contacts.Organizations
      This class was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        class | Contacts.People
      This class was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        interface | Contacts.PeopleColumns
      This interface was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        class | Contacts.Phones
      This class was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        interface | Contacts.PhonesColumns
      This interface was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        class | Contacts.Photos
      This class was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        interface | Contacts.PhotosColumns
      This interface was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        interface | Contacts.PresenceColumns
      This interface was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        class | Contacts.Settings
      This class was deprecated
      in API level 5.
    see  | 
| 
        
        
        
        
        interface | Contacts.SettingsColumns
      This interface was deprecated
      in API level 5.
    see  | 
| Constants | |
|---|---|
| String | AUTHORITY
      This constant is deprecated.
    see  | 
| int | KIND_EMAIL
      This constant is deprecated.
    see  | 
| int | KIND_IM
      This constant is deprecated.
    see  | 
| int | KIND_ORGANIZATION
      This constant is deprecated.
    see  | 
| int | KIND_PHONE
      This constant is deprecated.
    see  | 
| int | KIND_POSTAL
      This constant is deprecated.
    see  | 
| Fields | |
|---|---|
| 
    public
    static
    final
    Uri | CONTENT_URI
      This field is deprecated.
    see  | 
| Inherited methods | |
|---|---|
Constants
AUTHORITY
public static final String AUTHORITY
      This constant is deprecated.
    see ContactsContract
  
Constant Value: "contacts"
KIND_EMAIL
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
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
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
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
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
public static final Uri CONTENT_URI
      This field is deprecated.
    see ContactsContract
  
The content:// style URL for this provider
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
