public static final class

Contacts.Phones

extends Object
implements BaseColumns Contacts.PeopleColumns Contacts.PhonesColumns
java.lang.Object
   ↳ android.provider.Contacts.Phones

Class Overview

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
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.
String CONTENT_TYPE The MIME type of CONTENT_URI providing a directory of phones.
Uri CONTENT_URI The content:// style URL for this table
String DEFAULT_SORT_ORDER The default sort order for this table
String PERSON_ID The ID of the person this phone number is assigned to.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.Contacts.PeopleColumns
From interface android.provider.Contacts.PhonesColumns
Public Methods
final static CharSequence getDisplayLabel(Context context, int type, CharSequence label, CharSequence[] labelArray)
final static CharSequence getDisplayLabel(Context context, int type, CharSequence label)
[Expand]
Inherited Methods
From class java.lang.Object

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, CharSequence[] labelArray)

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