public static final class

Contacts.Intents.Insert

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

Class Overview

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

Summary

Constants
String ACTION The action code to use when adding a contact
String COMPANY The extra field for the contact company.
String EMAIL The extra field for the contact email address.
String EMAIL_ISPRIMARY The extra field for the email isprimary flag.
String EMAIL_TYPE The extra field for the contact email type.
String FULL_MODE If present, forces a bypass of quick insert mode.
String IM_HANDLE The extra field for an IM handle.
String IM_ISPRIMARY The extra field for the IM isprimary flag.
String IM_PROTOCOL The extra field for the IM protocol

Type: the result of encodePredefinedImProtocol(int) or encodeCustomImProtocol(String).

String JOB_TITLE The extra field for the contact job title.
String NAME The extra field for the contact name.
String NOTES The extra field for the contact notes.
String PHONE The extra field for the contact phone number.
String PHONETIC_NAME The extra field for the contact phonetic name.
String PHONE_ISPRIMARY The extra field for the phone isprimary flag.
String PHONE_TYPE The extra field for the contact phone number type.
String POSTAL The extra field for the contact postal address.
String POSTAL_ISPRIMARY The extra field for the postal isprimary flag.
String POSTAL_TYPE The extra field for the contact postal address type.
String SECONDARY_EMAIL The extra field for an optional second contact email address.
String SECONDARY_EMAIL_TYPE The extra field for an optional second contact email type.
String SECONDARY_PHONE The extra field for an optional second contact phone number.
String SECONDARY_PHONE_TYPE The extra field for an optional second contact phone number type.
String TERTIARY_EMAIL The extra field for an optional third contact email address.
String TERTIARY_EMAIL_TYPE The extra field for an optional third contact email type.
String TERTIARY_PHONE The extra field for an optional third contact phone number.
String TERTIARY_PHONE_TYPE The extra field for an optional third contact phone number type.
Public Constructors
Contacts.Intents.Insert()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ACTION

The action code to use when adding a contact

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

public static final String COMPANY

The extra field for the contact company.

Type: String

Constant Value: "company"

public static final String EMAIL

The extra field for the contact email address.

Type: String

Constant Value: "email"

public static final String EMAIL_ISPRIMARY

The extra field for the email isprimary flag.

Type: boolean

Constant Value: "email_isprimary"

public static final String EMAIL_TYPE

The extra field for the contact email type.

Type: Either an integer value from ContactMethodsColumns or a string specifying a custom label.

Constant Value: "email_type"

public static final String FULL_MODE

If present, forces a bypass of quick insert mode.

Constant Value: "full_mode"

public static final String IM_HANDLE

The extra field for an IM handle.

Type: String

Constant Value: "im_handle"

public static final String IM_ISPRIMARY

The extra field for the IM isprimary flag.

Type: boolean

Constant Value: "im_isprimary"

public static final String IM_PROTOCOL

The extra field for the IM protocol

Type: the result of encodePredefinedImProtocol(int) or encodeCustomImProtocol(String).

Constant Value: "im_protocol"

public static final String JOB_TITLE

The extra field for the contact job title.

Type: String

Constant Value: "job_title"

public static final String NAME

The extra field for the contact name.

Type: String

Constant Value: "name"

public static final String NOTES

The extra field for the contact notes.

Type: String

Constant Value: "notes"

public static final String PHONE

The extra field for the contact phone number.

Type: String

Constant Value: "phone"

public static final String PHONETIC_NAME

The extra field for the contact phonetic name.

Type: String

Constant Value: "phonetic_name"

public static final String PHONE_ISPRIMARY

The extra field for the phone isprimary flag.

Type: boolean

Constant Value: "phone_isprimary"

public static final String PHONE_TYPE

The extra field for the contact phone number type.

Type: Either an integer value from PhonesColumns, or a string specifying a custom label.

Constant Value: "phone_type"

public static final String POSTAL

The extra field for the contact postal address.

Type: String

Constant Value: "postal"

public static final String POSTAL_ISPRIMARY

The extra field for the postal isprimary flag.

Type: boolean

Constant Value: "postal_isprimary"

public static final String POSTAL_TYPE

The extra field for the contact postal address type.

Type: Either an integer value from ContactMethodsColumns or a string specifying a custom label.

Constant Value: "postal_type"

public static final String SECONDARY_EMAIL

The extra field for an optional second contact email address.

Type: String

Constant Value: "secondary_email"

public static final String SECONDARY_EMAIL_TYPE

The extra field for an optional second contact email type.

Type: Either an integer value from ContactMethodsColumns or a string specifying a custom label.

Constant Value: "secondary_email_type"

public static final String SECONDARY_PHONE

The extra field for an optional second contact phone number.

Type: String

Constant Value: "secondary_phone"

public static final String SECONDARY_PHONE_TYPE

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

Type: Either an integer value from PhonesColumns, or a string specifying a custom label.

Constant Value: "secondary_phone_type"

public static final String TERTIARY_EMAIL

The extra field for an optional third contact email address.

Type: String

Constant Value: "tertiary_email"

public static final String TERTIARY_EMAIL_TYPE

The extra field for an optional third contact email type.

Type: Either an integer value from ContactMethodsColumns or a string specifying a custom label.

Constant Value: "tertiary_email_type"

public static final String TERTIARY_PHONE

The extra field for an optional third contact phone number.

Type: String

Constant Value: "tertiary_phone"

public static final String TERTIARY_PHONE_TYPE

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

Type: Either an integer value from PhonesColumns, or a string specifying a custom label.

Constant Value: "tertiary_phone_type"

Public Constructors

public Contacts.Intents.Insert ()