Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

Contacts.Phones

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

This class was deprecated in API level 5.
see ContactsContract

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
String CONTENT_ITEM_TYPE This constant was deprecated in API level 5. see ContactsContract
String CONTENT_TYPE This constant was deprecated in API level 5. see ContactsContract
String DEFAULT_SORT_ORDER This constant was deprecated in API level 5. see ContactsContract
String PERSON_ID This constant was deprecated in API level 5. see ContactsContract
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.Contacts.PeopleColumns
From interface android.provider.Contacts.PhonesColumns
Fields
public static final Uri CONTENT_FILTER_URL This field was deprecated in API level 5. see ContactsContract
public static final Uri CONTENT_URI This field was deprecated in API level 5. see ContactsContract
Public Methods
final static CharSequence getDisplayLabel ( Context context, int type, CharSequence label, CharSequence[] labelArray)
This method was deprecated in API level 5. see ContactsContract
final static CharSequence getDisplayLabel ( Context context, int type, CharSequence label)
This method was deprecated in API level 5. see ContactsContract
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CONTENT_ITEM_TYPE

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

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

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

The MIME type of CONTENT_URI providing a directory of phones.

Constant Value: "vnd.android.cursor.dir/phone"

public static final String DEFAULT_SORT_ORDER

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

The default sort order for this table

Constant Value: "name ASC"

public static final String PERSON_ID

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

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

Type: INTEGER (long)

Constant Value: "person"

Fields

public static final Uri CONTENT_FILTER_URL

Added in API level 1

This field was deprecated in API level 5.
see ContactsContract

The content:// style URL for filtering phone numbers

public static final Uri CONTENT_URI

Added in API level 1

This field was deprecated in API level 5.
see ContactsContract

The content:// style URL for this table

Public Methods

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

Added in API level 1

This method was deprecated in API level 5.
see ContactsContract

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

Added in API level 1

This method was deprecated in API level 5.
see ContactsContract