Android
android.provider
public static final class

android.provider.Contacts.Phones

java.lang.Object
android.provider.Contacts.Phones BaseColumns Contacts.PeopleColumns Contacts.PhonesColumns

This table stores phone numbers and a reference to the person that the contact method belongs to. Phone numbers are stored separately from other contact methods to make caller ID lookup more efficient.

Summary

Constants

      Value  
Uri  CONTENT_FILTER_URL  The content:// style URL for filtering phone numbers      
String  CONTENT_ITEM_TYPE  The MIME type of a CONTENT_URI subdirectory of a single phone.  "vnd.android.cursor.item/phone" 
String  CONTENT_TYPE  The MIME type of CONTENT_URI providing a directory of phones.  "vnd.android.cursor.dir/phone" 
Uri  CONTENT_URI  The content:// style URL for this table      
String  DEFAULT_SORT_ORDER  The default sort order for this table   "name ASC" 
String  PERSON_ID  The ID of the person this phone number is assigned to.  "person" 
Constants inherited from interface android.provider.BaseColumns
Constants inherited from interface android.provider.Contacts.PeopleColumns
Constants inherited from interface android.provider.Contacts.PhonesColumns

Public Methods

    final  static    CharSequence  getDisplayLabel(Context context, int type, CharSequence label)
Methods inherited from class java.lang.Object

Details

Constants

public static final Uri CONTENT_FILTER_URL

The content:// style URL for filtering phone numbers

public static final String CONTENT_ITEM_TYPE

The MIME type of a CONTENT_URI subdirectory of a single phone.
Constant Value: "vnd.android.cursor.item/phone"

public static final String CONTENT_TYPE

The MIME type of CONTENT_URI providing a directory of phones.
Constant Value: "vnd.android.cursor.dir/phone"

public static final Uri CONTENT_URI

The content:// style URL for this table

public static final String DEFAULT_SORT_ORDER

The default sort order for this table
Constant Value: "name ASC"

public static final String PERSON_ID

The ID of the person this phone number is assigned to.

Type: INTEGER (long)

Constant Value: "person"

Public Methods

public static final CharSequence getDisplayLabel(Context context, int type, CharSequence label)

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