Android
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_ISPRIMARY  The extra field for the email isprimary flag.  "email_isprimary" 
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  IM_HANDLE  The extra field for an IM handle.  "im_handle" 
String  IM_ISPRIMARY  The extra field for the IM isprimary flag.  "im_isprimary" 
String  IM_PROTOCOL  The extra field for the IM protocol

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

"im_protocol" 
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_ISPRIMARY  The extra field for the phone isprimary flag.  "phone_isprimary" 
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_ISPRIMARY  The extra field for the postal isprimary flag.  "postal_isprimary" 
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_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 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 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 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 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_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 type and label.

Constant Value: "postal_type"

Public Constructors

public Contacts.Intents.Insert()

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56