public static final class

ContactsContract.Intents.Insert

extends Object
java.lang.Object
   ↳android.provider.ContactsContract.Intents.Insert

Class Overview

Convenience class that contains string constants used to create contact Intents.

Summary

Constants
StringACTIONThe action code to use when adding a contact
StringCOMPANYThe extra field for the contact company.
StringEMAILThe extra field for the contact email address.
StringEMAIL_ISPRIMARYThe extra field for the email isprimary flag.
StringEMAIL_TYPEThe extra field for the contact email type.
StringFULL_MODEIf present, forces a bypass of quick insert mode.
StringIM_HANDLEThe extra field for an IM handle.
StringIM_ISPRIMARYThe extra field for the IM isprimary flag.
StringIM_PROTOCOLThe extra field for the IM protocol
StringJOB_TITLEThe extra field for the contact job title.
StringNAMEThe extra field for the contact name.
StringNOTESThe extra field for the contact notes.
StringPHONEThe extra field for the contact phone number.
StringPHONETIC_NAMEThe extra field for the contact phonetic name.
StringPHONE_ISPRIMARYThe extra field for the phone isprimary flag.
StringPHONE_TYPEThe extra field for the contact phone number type.
StringPOSTALThe extra field for the contact postal address.
StringPOSTAL_ISPRIMARYThe extra field for the postal isprimary flag.
StringPOSTAL_TYPEThe extra field for the contact postal address type.
StringSECONDARY_EMAILThe extra field for an optional second contact email address.
StringSECONDARY_EMAIL_TYPEThe extra field for an optional second contact email type.
StringSECONDARY_PHONEThe extra field for an optional second contact phone number.
StringSECONDARY_PHONE_TYPEThe extra field for an optional second contact phone number type.
StringTERTIARY_EMAILThe extra field for an optional third contact email address.
StringTERTIARY_EMAIL_TYPEThe extra field for an optional third contact email type.
StringTERTIARY_PHONEThe extra field for an optional third contact phone number.
StringTERTIARY_PHONE_TYPEThe extra field for an optional third contact phone number type.
Public Constructors
ContactsContract.Intents.Insert()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ACTION

Since: API Level 5

The action code to use when adding a contact

Constant Value: "android.intent.action.INSERT"

public static final String COMPANY

Since: API Level 5

The extra field for the contact company.

Type: String

Constant Value: "company"

public static final String EMAIL

Since: API Level 5

The extra field for the contact email address.

Type: String

Constant Value: "email"

public static final String EMAIL_ISPRIMARY

Since: API Level 5

The extra field for the email isprimary flag.

Type: boolean

Constant Value: "email_isprimary"

public static final String EMAIL_TYPE

Since: API Level 5

The extra field for the contact email type.

Type: Either an integer value from ContactsContract.CommonDataKinds.Email or a string specifying a custom label.

Constant Value: "email_type"

public static final String FULL_MODE

Since: API Level 5

If present, forces a bypass of quick insert mode.

Constant Value: "full_mode"

public static final String IM_HANDLE

Since: API Level 5

The extra field for an IM handle.

Type: String

Constant Value: "im_handle"

public static final String IM_ISPRIMARY

Since: API Level 5

The extra field for the IM isprimary flag.

Type: boolean

Constant Value: "im_isprimary"

public static final String IM_PROTOCOL

Since: API Level 5

The extra field for the IM protocol

Constant Value: "im_protocol"

public static final String JOB_TITLE

Since: API Level 5

The extra field for the contact job title.

Type: String

Constant Value: "job_title"

public static final String NAME

Since: API Level 5

The extra field for the contact name.

Type: String

Constant Value: "name"

public static final String NOTES

Since: API Level 5

The extra field for the contact notes.

Type: String

Constant Value: "notes"

public static final String PHONE

Since: API Level 5

The extra field for the contact phone number.

Type: String

Constant Value: "phone"

public static final String PHONETIC_NAME

Since: API Level 5

The extra field for the contact phonetic name.

Type: String

Constant Value: "phonetic_name"

public static final String PHONE_ISPRIMARY

Since: API Level 5

The extra field for the phone isprimary flag.

Type: boolean

Constant Value: "phone_isprimary"

public static final String PHONE_TYPE

Since: API Level 5

The extra field for the contact phone number type.

Type: Either an integer value from ContactsContract.CommonDataKinds.Phone, or a string specifying a custom label.

Constant Value: "phone_type"

public static final String POSTAL

Since: API Level 5

The extra field for the contact postal address.

Type: String

Constant Value: "postal"

public static final String POSTAL_ISPRIMARY

Since: API Level 5

The extra field for the postal isprimary flag.

Type: boolean

Constant Value: "postal_isprimary"

public static final String POSTAL_TYPE

Since: API Level 5

The extra field for the contact postal address type.

Type: Either an integer value from ContactsContract.CommonDataKinds.StructuredPostal or a string specifying a custom label.

Constant Value: "postal_type"

public static final String SECONDARY_EMAIL

Since: API Level 5

The extra field for an optional second contact email address.

Type: String

Constant Value: "secondary_email"

public static final String SECONDARY_EMAIL_TYPE

Since: API Level 5

The extra field for an optional second contact email type.

Type: Either an integer value from ContactsContract.CommonDataKinds.Email or a string specifying a custom label.

Constant Value: "secondary_email_type"

public static final String SECONDARY_PHONE

Since: API Level 5

The extra field for an optional second contact phone number.

Type: String

Constant Value: "secondary_phone"

public static final String SECONDARY_PHONE_TYPE

Since: API Level 5

The extra field for an optional second contact phone number type.

Type: Either an integer value from ContactsContract.CommonDataKinds.Phone, or a string specifying a custom label.

Constant Value: "secondary_phone_type"

public static final String TERTIARY_EMAIL

Since: API Level 5

The extra field for an optional third contact email address.

Type: String

Constant Value: "tertiary_email"

public static final String TERTIARY_EMAIL_TYPE

Since: API Level 5

The extra field for an optional third contact email type.

Type: Either an integer value from ContactsContract.CommonDataKinds.Email or a string specifying a custom label.

Constant Value: "tertiary_email_type"

public static final String TERTIARY_PHONE

Since: API Level 5

The extra field for an optional third contact phone number.

Type: String

Constant Value: "tertiary_phone"

public static final String TERTIARY_PHONE_TYPE

Since: API Level 5

The extra field for an optional third contact phone number type.

Type: Either an integer value from ContactsContract.CommonDataKinds.Phone, or a string specifying a custom label.

Constant Value: "tertiary_phone_type"

Public Constructors

public ContactsContract.Intents.Insert ()

Since: API Level 5