English | Site Directory

Android - An Open Handset Alliance Project

android.provider
public static interface

android.provider.Contacts.PhonesColumns

android.provider.Contacts.PhonesColumns

Columns from the Phones table that other columns join into themselves.

Known Indirect Subclasses

Summary

Constants

      Value  
String  CUSTOM_ICON  A custom icon associated with the phone number.  "phone_icon" 
int  HOME_FAX_TYPE    0x00000004 
int  HOME_TYPE    0x00000000 
String  LABEL  The user provided label for the phone number, only used if TYPE is OTHER_TYPE.  "label" 
int  MOBILE_TYPE    0x00000001 
String  NUMBER  The phone number as the user entered it.  "number" 
String  NUMBER_KEY  The normalized phone number

Type: TEXT

 
"number_key" 
int  OTHER_TYPE    0x00000006 
int  PAGER_TYPE    0x00000005 
String  TYPE  The type of the the phone number.  "type" 
int  WORK_FAX_TYPE    0x00000003 
int  WORK_TYPE    0x00000002 

Details

Constants

public static final String CUSTOM_ICON

A custom icon associated with the phone number. Not always present. Not writable.

Type: TEXT (URI to icon)

Constant Value: "phone_icon"

public static final int HOME_FAX_TYPE

Constant Value: 4 (0x00000004)

public static final int HOME_TYPE

Constant Value: 0 (0x00000000)

public static final String LABEL

The user provided label for the phone number, only used if TYPE is OTHER_TYPE.

Type: TEXT

Constant Value: "label"

public static final int MOBILE_TYPE

Constant Value: 1 (0x00000001)

public static final String NUMBER

The phone number as the user entered it.

Type: TEXT

Constant Value: "number"

public static final String NUMBER_KEY

The normalized phone number

Type: TEXT

Constant Value: "number_key"

public static final int OTHER_TYPE

Constant Value: 6 (0x00000006)

public static final int PAGER_TYPE

Constant Value: 5 (0x00000005)

public static final String TYPE

The type of the the phone number.

Type: INTEGER (one of the constants below)

Constant Value: "type"

public static final int WORK_FAX_TYPE

Constant Value: 3 (0x00000003)

public static final int WORK_TYPE

Constant Value: 2 (0x00000002)
Build m5-rc15i - 10 Jun 2008 13:54