Added in API level 1
Deprecated in API level 5

Contacts.Intents.Insert

public static final class Contacts.Intents.Insert
extends Object

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


This class was deprecated in API level 5.
see ContactsContract

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

Summary

Constants

String ACTION

This constant is deprecated. see ContactsContract

String COMPANY

This constant is deprecated. see ContactsContract

String EMAIL

This constant is deprecated. see ContactsContract

String EMAIL_ISPRIMARY

This constant is deprecated. see ContactsContract

String EMAIL_TYPE

This constant is deprecated. see ContactsContract

String FULL_MODE

This constant is deprecated. see ContactsContract

String IM_HANDLE

This constant is deprecated. see ContactsContract

String IM_ISPRIMARY

This constant is deprecated. see ContactsContract

String IM_PROTOCOL

This constant is deprecated. see ContactsContract

String JOB_TITLE

This constant is deprecated. see ContactsContract

String NAME

This constant is deprecated. see ContactsContract

String NOTES

This constant is deprecated. see ContactsContract

String PHONE

This constant is deprecated. see ContactsContract

String PHONETIC_NAME

This constant was deprecated in API level 5. see ContactsContract

String PHONE_ISPRIMARY

This constant is deprecated. see ContactsContract

String PHONE_TYPE

This constant is deprecated. see ContactsContract

String POSTAL

This constant is deprecated. see ContactsContract

String POSTAL_ISPRIMARY

This constant is deprecated. see ContactsContract

String POSTAL_TYPE

This constant is deprecated. see ContactsContract

String SECONDARY_EMAIL

This constant was deprecated in API level 5. see ContactsContract

String SECONDARY_EMAIL_TYPE

This constant was deprecated in API level 5. see ContactsContract

String SECONDARY_PHONE

This constant was deprecated in API level 5. see ContactsContract

String SECONDARY_PHONE_TYPE

This constant was deprecated in API level 5. see ContactsContract

String TERTIARY_EMAIL

This constant was deprecated in API level 5. see ContactsContract

String TERTIARY_EMAIL_TYPE

This constant was deprecated in API level 5. see ContactsContract

String TERTIARY_PHONE

This constant was deprecated in API level 5. see ContactsContract

String TERTIARY_PHONE_TYPE

This constant was deprecated in API level 5. see ContactsContract

Public constructors

Insert()

This constructor is deprecated. see ContactsContract

Inherited methods

Constants

ACTION

Added in API level 1
public static final String ACTION

This constant is deprecated.
see ContactsContract

The action code to use when adding a contact

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

COMPANY

Added in API level 1
public static final String COMPANY

This constant is deprecated.
see ContactsContract

The extra field for the contact company.

Type: String

Constant Value: "company"

EMAIL

Added in API level 1
public static final String EMAIL

This constant is deprecated.
see ContactsContract

The extra field for the contact email address.

Type: String

Constant Value: "email"

EMAIL_ISPRIMARY

Added in API level 1
public static final String EMAIL_ISPRIMARY

This constant is deprecated.
see ContactsContract

The extra field for the email isprimary flag.

Type: boolean

Constant Value: "email_isprimary"

EMAIL_TYPE

Added in API level 1
public static final String EMAIL_TYPE

This constant is deprecated.
see ContactsContract

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"

FULL_MODE

Added in API level 1
public static final String FULL_MODE

This constant is deprecated.
see ContactsContract

If present, forces a bypass of quick insert mode.

Constant Value: "full_mode"

IM_HANDLE

Added in API level 1
public static final String IM_HANDLE

This constant is deprecated.
see ContactsContract

The extra field for an IM handle.

Type: String

Constant Value: "im_handle"

IM_ISPRIMARY

Added in API level 1
public static final String IM_ISPRIMARY

This constant is deprecated.
see ContactsContract

The extra field for the IM isprimary flag.

Type: boolean

Constant Value: "im_isprimary"

IM_PROTOCOL

Added in API level 1
public static final String IM_PROTOCOL

This constant is deprecated.
see ContactsContract

The extra field for the IM protocol

Type: the result of Contacts.ContactMethods#encodePredefinedImProtocol or Contacts.ContactMethods#encodeCustomImProtocol.

Constant Value: "im_protocol"

JOB_TITLE

Added in API level 1
public static final String JOB_TITLE

This constant is deprecated.
see ContactsContract

The extra field for the contact job title.

Type: String

Constant Value: "job_title"

NAME

Added in API level 1
public static final String NAME

This constant is deprecated.
see ContactsContract

The extra field for the contact name.

Type: String

Constant Value: "name"

NOTES

Added in API level 1
public static final String NOTES

This constant is deprecated.
see ContactsContract

The extra field for the contact notes.

Type: String

Constant Value: "notes"

PHONE

Added in API level 1
public static final String PHONE

This constant is deprecated.
see ContactsContract

The extra field for the contact phone number.

Type: String

Constant Value: "phone"

PHONETIC_NAME

Added in API level 3
Deprecated in API level 5
public static final String PHONETIC_NAME

This constant was deprecated in API level 5.
see ContactsContract

The extra field for the contact phonetic name.

Type: String

Constant Value: "phonetic_name"

PHONE_ISPRIMARY

Added in API level 1
public static final String PHONE_ISPRIMARY

This constant is deprecated.
see ContactsContract

The extra field for the phone isprimary flag.

Type: boolean

Constant Value: "phone_isprimary"

PHONE_TYPE

Added in API level 1
public static final String PHONE_TYPE

This constant is deprecated.
see ContactsContract

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"

POSTAL

Added in API level 1
public static final String POSTAL

This constant is deprecated.
see ContactsContract

The extra field for the contact postal address.

Type: String

Constant Value: "postal"

POSTAL_ISPRIMARY

Added in API level 1
public static final String POSTAL_ISPRIMARY

This constant is deprecated.
see ContactsContract

The extra field for the postal isprimary flag.

Type: boolean

Constant Value: "postal_isprimary"

POSTAL_TYPE

Added in API level 1
public static final String POSTAL_TYPE

This constant is deprecated.
see ContactsContract

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"

SECONDARY_EMAIL

Added in API level 3
Deprecated in API level 5
public static final String SECONDARY_EMAIL

This constant was deprecated in API level 5.
see ContactsContract

The extra field for an optional second contact email address.

Type: String

Constant Value: "secondary_email"

SECONDARY_EMAIL_TYPE

Added in API level 3
Deprecated in API level 5
public static final String SECONDARY_EMAIL_TYPE

This constant was deprecated in API level 5.
see ContactsContract

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"

SECONDARY_PHONE

Added in API level 3
Deprecated in API level 5
public static final String SECONDARY_PHONE

This constant was deprecated in API level 5.
see ContactsContract

The extra field for an optional second contact phone number.

Type: String

Constant Value: "secondary_phone"

SECONDARY_PHONE_TYPE

Added in API level 3
Deprecated in API level 5
public static final String SECONDARY_PHONE_TYPE

This constant was deprecated in API level 5.
see ContactsContract

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"

TERTIARY_EMAIL

Added in API level 3
Deprecated in API level 5
public static final String TERTIARY_EMAIL

This constant was deprecated in API level 5.
see ContactsContract

The extra field for an optional third contact email address.

Type: String

Constant Value: "tertiary_email"

TERTIARY_EMAIL_TYPE

Added in API level 3
Deprecated in API level 5
public static final String TERTIARY_EMAIL_TYPE

This constant was deprecated in API level 5.
see ContactsContract

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"

TERTIARY_PHONE

Added in API level 3
Deprecated in API level 5
public static final String TERTIARY_PHONE

This constant was deprecated in API level 5.
see ContactsContract

The extra field for an optional third contact phone number.

Type: String

Constant Value: "tertiary_phone"

TERTIARY_PHONE_TYPE

Added in API level 3
Deprecated in API level 5
public static final String TERTIARY_PHONE_TYPE

This constant was deprecated in API level 5.
see ContactsContract

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

Insert

Added in API level 1
public Insert ()

This constructor is deprecated.
see ContactsContract