Added 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/ContactsContract.Intents#nestedclasses) \| [Constants](https://developer.android.com/reference/android/provider/ContactsContract.Intents#constants) \| [Ctors](https://developer.android.com/reference/android/provider/ContactsContract.Intents#pubctors) \| [Inherited Methods](https://developer.android.com/reference/android/provider/ContactsContract.Intents#inhmethods)

# ContactsContract.Intents

*** ** * ** ***

` public static final class ContactsContract.Intents `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

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

<br />

*** ** * ** ***

Contains helper classes used to create or manage `https://developer.android.com/reference/android/content/Intent` that involve contacts.

## Summary

| ### Nested classes ||
|---|---|
| ` class` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents.Insert` Convenience class that contains string constants used to create contact `https://developer.android.com/reference/android/content/Intent`. |

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` Activity Action: Initiate a message to someone by voice. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ATTACH_IMAGE` Starts an Activity that lets the user pick a contact to attach an image to. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#CONTACTS_DATABASE_CREATED` This is the intent that is fired when the contacts database is created. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_CREATE_DESCRIPTION` Used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#SHOW_OR_CREATE_CONTACT` to specify an exact description to be shown when prompting user about creating a new contact. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_FORCE_CREATE` Used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#SHOW_OR_CREATE_CONTACT` to force creating a new contact if no matching contact found. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_CHAT_ID` This extra specifies a messaging app\\u2019s unique ID(s) for the contact(s), used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` to supply the recipient(s). |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_NAME` This extra specifies the contact name (full name from the Contacts Provider), used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` to supply the recipient. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_URI` This extra specifies a content provider uri(s) for the contact(s) (if the contacts were located in the Contacts Provider), used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` to supply the recipient(s). |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#INVITE_CONTACT` This is the intent that is fired when the user clicks the "invite to the network" button on a contact. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#METADATA_ACCOUNT_TYPE` A string associated with an `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` activity describing `https://developer.android.com/reference/android/provider/ContactsContract.SyncColumns#ACCOUNT_TYPE` for the corresponding Contacts Provider implementation. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#METADATA_MIMETYPE` A string associated with an `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` activity describing `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` for the corresponding Contacts Provider implementation. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#SEARCH_SUGGESTION_CLICKED` This is the intent that is fired when a search suggestion is clicked on. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED` This is the intent that is fired when a search suggestion for creating a contact is clicked on. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED` This is the intent that is fired when a search suggestion for dialing a number is clicked on. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.Intents#SHOW_OR_CREATE_CONTACT` Takes as input a data URI with a mailto: or tel: scheme. |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/provider/ContactsContract.Intents#Intents()() ` |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` 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 https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` 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` ` 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` ` 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

### ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS

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

```
public static final String ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS
```

Activity Action: Initiate a message to someone by voice. The message could be text, audio, video or image(photo). This action supports messaging with a specific contact regardless of the underlying messaging protocol used.

The action could be originated from the Voice Assistant as a voice interaction. In such case, a receiving activity that supports `https://developer.android.com/reference/android/content/Intent#CATEGORY_VOICE` could check return value of `https://developer.android.com/reference/android/app/Activity#isVoiceInteractionRoot()` before proceeding. By doing this check the activity verifies that the action indeed was initiated by Voice Assistant and could send a message right away, without any further input from the user. This allows for a smooth user experience when sending a message by voice. Note: this activity must also support the `https://developer.android.com/reference/android/content/Intent#CATEGORY_DEFAULT` so it can be found by `https://developer.android.com/reference/android/service/voice/VoiceInteractionSession#startVoiceActivity(android.content.Intent)`.

When the action was not initiated by Voice Assistant or when the receiving activity does not support `https://developer.android.com/reference/android/content/Intent#CATEGORY_VOICE`, the activity must confirm with the user before sending the message (because in this case it is unknown which app sent the intent, it could be malicious).

To allow the Voice Assistant to help users with contacts disambiguation, the messaging app may choose to integrate with the Contacts Provider. You will need to specify a new MIME type in order to store your app\\u2019s unique contact IDs and optional human readable labels in the Data table. The Voice Assistant needs to know this MIME type and `https://developer.android.com/reference/android/provider/ContactsContract.SyncColumns#ACCOUNT_TYPE` that you are using in order to provide the smooth contact disambiguation user experience. The following convention should be met when performing such integration:

- This activity should have a string meta-data field associated with it, `https://developer.android.com/reference/android/provider/ContactsContract.Intents#METADATA_ACCOUNT_TYPE`, which defines `https://developer.android.com/reference/android/provider/ContactsContract.SyncColumns#ACCOUNT_TYPE` for your Contacts Provider implementation. The account type should be globally unique, for example you can use your app package name as the account type.
- This activity should have a string meta-data field associated with it, `https://developer.android.com/reference/android/provider/ContactsContract.Intents#METADATA_MIMETYPE`, which defines `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` for your Contacts Provider implementation. For example, you can use "vnd.android.cursor.item/vnd.{$app_package_name}.profile" as MIME type.
- When filling Data table row for METADATA_MIMETYPE, column `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA1` should store the unique contact ID as understood by the app. This value will be used in the `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_CHAT_ID`.
- Optionally, when filling Data table row for METADATA_MIMETYPE, column `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA3` could store a human readable label for the ID. For example it could be phone number or human readable username/user_id like "a_super_cool_user_name". This label may be shown below the Contact Name by the Voice Assistant as the user completes the voice action. If DATA3 is empty, the ID in DATA1 may be shown instead.
- *Note: Do not use DATA3 to store the Contact Name. The Voice Assistant will already get the Contact Name from the RawContact\\u2019s display_name.*
- *Note: Some apps may choose to use phone number as the unique contact ID in DATA1. If this applies to you and you\\u2019d like phone number to be shown below the Contact Name by the Voice Assistant, then you may choose to leave DATA3 empty.*
- *Note: If your app also uses DATA3 to display contact details in the Contacts App, make sure it does not include prefix text such as "Message +
  " or "Free Message + ", etc. If you must show the prefix text in the Contacts App, please use a different DATA# column, and update your contacts.xml to point to this new column.*

If the app chooses not to integrate with the Contacts Provider (in particular, when either METADATA_ACCOUNT_TYPE or METADATA_MIMETYPE field is missing), Voice Assistant will use existing phone number entries as contact ID's for such app.

Input: `https://developer.android.com/reference/android/content/Intent#getType()` is the MIME type of the data being sent. The intent sender will always put the concrete mime type in the intent type, like "text/plain" or "audio/wav" for example. If the MIME type is "text/plain", message to sent will be provided via `https://developer.android.com/reference/android/content/Intent#EXTRA_TEXT` as a styled CharSequence. Otherwise, the message content will be supplied through `https://developer.android.com/reference/android/content/Intent#setClipData(android.content.ClipData)` as a content provider URI(s). In the latter case, EXTRA_TEXT could still be supplied optionally; for example, for audio messages ClipData will contain URI of a recording and EXTRA_TEXT could contain the text transcription of this recording.

The message can have n recipients. The n-th recipient of the message will be provided as n-th elements of `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_URI`, `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_CHAT_ID` and `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_NAME` (as a consequence, EXTRA_RECIPIENT_CONTACT_URI, EXTRA_RECIPIENT_CONTACT_CHAT_ID and EXTRA_RECIPIENT_CONTACT_NAME should all be of length n). If neither of these 3 elements is provided (e.g. all 3 are null) for the recipient or if the information provided is ambiguous then the activity should prompt the user for the recipient to send the message to.

Output: nothing

<br />

**See also:**

- `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_URI`
- `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_CHAT_ID`
- `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_NAME`
- `https://developer.android.com/reference/android/provider/ContactsContract.Intents#METADATA_ACCOUNT_TYPE`
- `https://developer.android.com/reference/android/provider/ContactsContract.Intents#METADATA_MIMETYPE`

Constant Value: "android.provider.action.VOICE_SEND_MESSAGE_TO_CONTACTS"

### ATTACH_IMAGE

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

```
public static final String ATTACH_IMAGE
```

Starts an Activity that lets the user pick a contact to attach an image to. After picking the contact it launches the image cropper in face detection mode.

<br />

Constant Value: "com.android.contacts.action.ATTACH_IMAGE"

### CONTACTS_DATABASE_CREATED

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

```
public static final String CONTACTS_DATABASE_CREATED
```

This is the intent that is fired when the contacts database is created.

The READ_CONTACT permission is required to receive these broadcasts.

Because this is an implicit broadcast, apps targeting Android O will no longer receive this broadcast via a manifest broadcast receiver. (Broadcast receivers registered at runtime with `https://developer.android.com/reference/android/content/Context#registerReceiver(android.content.BroadcastReceiver,%20android.content.IntentFilter)` will still receive it.) Instead, an app can use `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#DATABASE_CREATION_TIMESTAMP` to see if the contacts database has been initialized when it starts.

<br />

Constant Value: "android.provider.Contacts.DATABASE_CREATED"

### EXTRA_CREATE_DESCRIPTION

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

```
public static final String EXTRA_CREATE_DESCRIPTION
```

Used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#SHOW_OR_CREATE_CONTACT` to specify an exact description to be shown when prompting user about creating a new contact.

Type: STRING

<br />

Constant Value: "com.android.contacts.action.CREATE_DESCRIPTION"

### EXTRA_FORCE_CREATE

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

```
public static final String EXTRA_FORCE_CREATE
```

Used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#SHOW_OR_CREATE_CONTACT` to force creating a new contact if no matching contact found. Otherwise, default behavior is to prompt user with dialog before creating.

Type: BOOLEAN

<br />

Constant Value: "com.android.contacts.action.FORCE_CREATE"

### EXTRA_RECIPIENT_CONTACT_CHAT_ID

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

```
public static final String EXTRA_RECIPIENT_CONTACT_CHAT_ID
```

This extra specifies a messaging app\\u2019s unique ID(s) for the contact(s), used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` to supply the recipient(s). The value of this extra is a `String[]`. The number of elements in the array should be equal to number of recipients (and consistent with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_URI` and `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_NAME`). When the value of the element for the particular recipient is absent, it will be set to null.

The value of the elements comes from the `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA1` column in Contacts Provider with `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` from `https://developer.android.com/reference/android/provider/ContactsContract.Intents#METADATA_MIMETYPE` (if both `https://developer.android.com/reference/android/provider/ContactsContract.Intents#METADATA_ACCOUNT_TYPE` and `https://developer.android.com/reference/android/provider/ContactsContract.Intents#METADATA_MIMETYPE` are specified by the app; otherwise, the value will be a phone number), and should be the unambiguous contact endpoint. This value is app-specific, it could be some proprietary ID or a phone number.

<br />

Constant Value: "android.provider.extra.RECIPIENT_CONTACT_CHAT_ID"

### EXTRA_RECIPIENT_CONTACT_NAME

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

```
public static final String EXTRA_RECIPIENT_CONTACT_NAME
```

This extra specifies the contact name (full name from the Contacts Provider), used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` to supply the recipient. The value of this extra is a `String[]`. The number of elements in the array should be equal to number of recipients (and consistent with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_URI` and `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_CHAT_ID`). When the value of the element for the particular recipient is absent, it will be set to null.

The value of the elements comes from RawContact's display_name column.

*Example value: {"Jane Doe"}*

<br />

Constant Value: "android.provider.extra.RECIPIENT_CONTACT_NAME"

### EXTRA_RECIPIENT_CONTACT_URI

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

```
public static final String EXTRA_RECIPIENT_CONTACT_URI
```

This extra specifies a content provider uri(s) for the contact(s) (if the contacts were located in the Contacts Provider), used with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` to supply the recipient(s). The value of this extra is a `String[]`. The number of elements in the array should be equal to number of recipients (and consistent with `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_CHAT_ID` and `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_RECIPIENT_CONTACT_NAME`). When the value of the element for the particular recipient is absent, it will be set to null.

*Note: one contact may have multiple accounts (e.g. Chat IDs) on a specific messaging platform, so this may be ambiguous. E.g., one contact \\u201cJohn Smith\\u201d could have two accounts on the same messaging app.*

*Example value: {"content://com.android.contacts/contacts/16"}*

<br />

Constant Value: "android.provider.extra.RECIPIENT_CONTACT_URI"

### INVITE_CONTACT

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

```
public static final String INVITE_CONTACT
```

This is the intent that is fired when the user clicks the "invite to the network" button on a contact. Only sent to an activity which is explicitly registered by a contact provider which supports the "invite to the network" feature.

`https://developer.android.com/reference/android/content/Intent#getData()` contains the lookup URI for the contact.

<br />

Constant Value: "com.android.contacts.action.INVITE_CONTACT"

### METADATA_ACCOUNT_TYPE

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

```
public static final String METADATA_ACCOUNT_TYPE
```

A string associated with an `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` activity describing `https://developer.android.com/reference/android/provider/ContactsContract.SyncColumns#ACCOUNT_TYPE` for the corresponding Contacts Provider implementation.

<br />

Constant Value: "android.provider.account_type"

### METADATA_MIMETYPE

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

```
public static final String METADATA_MIMETYPE
```

A string associated with an `https://developer.android.com/reference/android/provider/ContactsContract.Intents#ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS` activity describing `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` for the corresponding Contacts Provider implementation.

<br />

Constant Value: "android.provider.mimetype"

### SEARCH_SUGGESTION_CLICKED

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

```
public static final String SEARCH_SUGGESTION_CLICKED
```

This is the intent that is fired when a search suggestion is clicked on.

<br />

Constant Value: "android.provider.Contacts.SEARCH_SUGGESTION_CLICKED"

### SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED

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

```
public static final String SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED
```

This is the intent that is fired when a search suggestion for creating a contact is clicked on.

<br />

Constant Value: "android.provider.Contacts.SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED"

### SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED

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

```
public static final String SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED
```

This is the intent that is fired when a search suggestion for dialing a number is clicked on.

<br />

Constant Value: "android.provider.Contacts.SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED"

### SHOW_OR_CREATE_CONTACT

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

```
public static final String SHOW_OR_CREATE_CONTACT
```

Takes as input a data URI with a mailto: or tel: scheme. If a single contact exists with the given data it will be shown. If no contact exists, a dialog will ask the user if they want to create a new contact with the provided details filled in. If multiple contacts share the data the user will be prompted to pick which contact they want to view.

For `mailto:` URIs, the scheme specific portion must be a raw email address, such as one built using `https://developer.android.com/reference/android/net/Uri#fromParts(java.lang.String,%20java.lang.String,%20java.lang.String)`.

For `tel:` URIs, the scheme specific portion is compared to existing numbers using the standard caller ID lookup algorithm. The number must be properly encoded, for example using `https://developer.android.com/reference/android/net/Uri#fromParts(java.lang.String,%20java.lang.String,%20java.lang.String)`.

Any extras from the `https://developer.android.com/reference/android/provider/ContactsContract.Intents.Insert` class will be passed along to the create activity if there are no contacts to show.

Passing true for the `https://developer.android.com/reference/android/provider/ContactsContract.Intents#EXTRA_FORCE_CREATE` extra will skip prompting the user when the contact doesn't exist.

<br />

Constant Value: "com.android.contacts.action.SHOW_OR_CREATE_CONTACT"

## Public constructors

### Intents

```
public Intents ()
```

<br />

<br />