English | Site Directory

Android - An Open Handset Alliance Project

android.provider
public static final class

android.provider.Contacts.Intents.Insert

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

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

Summary

Constants

      Value  
String  ACTION  The action code to use when adding a contact   "android.intent.action.INSERT" 
String  COMPANY  The extra field for the contact company.  "company" 
String  EMAIL  The extra field for the contact email address.  "email" 
String  EMAIL_TYPE  The extra field for the contact email type.  "email_type" 
String  FULL_MODE  If present, forces a bypass of quick insert mode.  "full_mode" 
String  JOB_TITLE  The extra field for the contact job title.  "job_title" 
String  NAME  The extra field for the contact name.  "name" 
String  NOTES  The extra field for the contact notes.  "notes" 
String  PHONE  The extra field for the contact phone number.  "phone" 
String  PHONE_TYPE  The extra field for the contact phone number type.  "phone_type" 
String  POSTAL  The extra field for the contact postal address.  "postal" 
String  POSTAL_TYPE  The extra field for the contact postal address type.  "postal_type" 

Public Constructors

          Contacts.Intents.Insert()
Methods inherited from class java.lang.Object

Details

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_TYPE

The extra field for the contact email type.

Type: Either an integer value from ContactMethodsColumns or a string specifying a type and 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 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 PHONE_TYPE

The extra field for the contact phone number type.

Type: Either an integer value from PhonesColumns, or a string specifying a type and 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_TYPE

The extra field for the contact postal address type.

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

Constant Value: "postal_type"

Public Constructors

public Contacts.Intents.Insert()

Build m5-rc15i - 10 Jun 2008 13:54