# Contacts

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Nested Classes](https://developer.android.com/reference/android/provider/Contacts#nestedclasses)\|[Constants](https://developer.android.com/reference/android/provider/Contacts#constants)\|[Fields](https://developer.android.com/reference/android/provider/Contacts#lfields)\|[Inherited Methods](https://developer.android.com/reference/android/provider/Contacts#inhmethods)  

# Contacts

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/provider/Contacts "View this page in Kotlin")\|Java

`
public


class
Contacts
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object)`


``


`

|---|---------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.Contacts |

<br />

*** ** * ** ***

<br />

**This class was deprecated in API level 5.**   
The APIs have been superseded by[ContactsContract](https://developer.android.com/reference/android/provider/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](https://developer.android.com/reference/android/provider/Contacts.ContactMethods) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                   |
| ` interface` | [Contacts.ContactMethodsColumns](https://developer.android.com/reference/android/provider/Contacts.ContactMethodsColumns) *This interface was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)* |
| ` class`     | [Contacts.Extensions](https://developer.android.com/reference/android/provider/Contacts.Extensions) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                           |
| ` interface` | [Contacts.ExtensionsColumns](https://developer.android.com/reference/android/provider/Contacts.ExtensionsColumns) *This interface was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*         |
| ` class`     | [Contacts.GroupMembership](https://developer.android.com/reference/android/provider/Contacts.GroupMembership) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                 |
| ` class`     | [Contacts.Groups](https://developer.android.com/reference/android/provider/Contacts.Groups) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                                   |
| ` interface` | [Contacts.GroupsColumns](https://developer.android.com/reference/android/provider/Contacts.GroupsColumns) *This interface was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                 |
| ` class`     | [Contacts.Intents](https://developer.android.com/reference/android/provider/Contacts.Intents) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                                 |
| ` interface` | [Contacts.OrganizationColumns](https://developer.android.com/reference/android/provider/Contacts.OrganizationColumns) *This interface was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*     |
| ` class`     | [Contacts.Organizations](https://developer.android.com/reference/android/provider/Contacts.Organizations) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                     |
| ` class`     | [Contacts.People](https://developer.android.com/reference/android/provider/Contacts.People) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                                   |
| ` interface` | [Contacts.PeopleColumns](https://developer.android.com/reference/android/provider/Contacts.PeopleColumns) *This interface was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                 |
| ` class`     | [Contacts.Phones](https://developer.android.com/reference/android/provider/Contacts.Phones) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                                   |
| ` interface` | [Contacts.PhonesColumns](https://developer.android.com/reference/android/provider/Contacts.PhonesColumns) *This interface was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                 |
| ` class`     | [Contacts.Photos](https://developer.android.com/reference/android/provider/Contacts.Photos) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                                   |
| ` interface` | [Contacts.PhotosColumns](https://developer.android.com/reference/android/provider/Contacts.PhotosColumns) *This interface was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                 |
| ` interface` | [Contacts.PresenceColumns](https://developer.android.com/reference/android/provider/Contacts.PresenceColumns) *This interface was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*             |
| ` class`     | [Contacts.Settings](https://developer.android.com/reference/android/provider/Contacts.Settings) *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                               |
| ` interface` | [Contacts.SettingsColumns](https://developer.android.com/reference/android/provider/Contacts.SettingsColumns) *This interface was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*             |

|                                                                                                                                                ### Constants                                                                                                                                                 ||
|--------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://developer.android.com/reference/java/lang/String) | [AUTHORITY](https://developer.android.com/reference/android/provider/Contacts#AUTHORITY) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                 |
| `int`                                                              | [KIND_EMAIL](https://developer.android.com/reference/android/provider/Contacts#KIND_EMAIL) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*               |
| `int`                                                              | [KIND_IM](https://developer.android.com/reference/android/provider/Contacts#KIND_IM) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                     |
| `int`                                                              | [KIND_ORGANIZATION](https://developer.android.com/reference/android/provider/Contacts#KIND_ORGANIZATION) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)* |
| `int`                                                              | [KIND_PHONE](https://developer.android.com/reference/android/provider/Contacts#KIND_PHONE) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*               |
| `int`                                                              | [KIND_POSTAL](https://developer.android.com/reference/android/provider/Contacts#KIND_POSTAL) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*             |

|                                                                                                                                                    ### Fields                                                                                                                                                    ||
|---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` public static final `[Uri](https://developer.android.com/reference/android/net/Uri) | [CONTENT_URI](https://developer.android.com/reference/android/provider/Contacts#CONTENT_URI) *This field is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)* |

| ### Inherited methods |
|-----------------------|---|
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(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](https://developer.android.com/reference/java/lang/Object#wait(long))`(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](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*.                                                                                             | ||

## Constants

### AUTHORITY

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String AUTHORITY
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

<br />

<br />

Constant Value: "contacts"  

### KIND_EMAIL

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final int KIND_EMAIL
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

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

<br />

Constant Value: 1 (0x00000001)  

### KIND_IM

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final int KIND_IM
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

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

<br />

Constant Value: 3 (0x00000003)  

### KIND_ORGANIZATION

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final int KIND_ORGANIZATION
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

Signifies an Organization row that is stored in the Organizations table

<br />

Constant Value: 4 (0x00000004)  

### KIND_PHONE

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final int KIND_PHONE
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

Signifies a Phone row that is stored in the Phones table

<br />

Constant Value: 5 (0x00000005)  

### KIND_POSTAL

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final int KIND_POSTAL
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

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

<br />

Constant Value: 2 (0x00000002)

## Fields

### CONTENT_URI

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final Uri CONTENT_URI
```

<br />

**This field is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

The content:// style URL for this provider

<br />