Contacts.Phones


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

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 is deprecated. see ContactsContract

String CONTENT_TYPE

This constant is deprecated. see ContactsContract

String DEFAULT_SORT_ORDER

This constant is deprecated. see ContactsContract

String PERSON_ID

This constant is deprecated. see ContactsContract

Inherited constants

String _COUNT

The count of rows in a directory.

String _ID

The unique ID for a row.

String CUSTOM_RINGTONE

This constant is deprecated. see ContactsContract

String DISPLAY_NAME

This constant is deprecated. see ContactsContract

String LAST_TIME_CONTACTED

This constant is deprecated. see ContactsContract

String NAME

This constant is deprecated. see ContactsContract

String NOTES

This constant is deprecated. see ContactsContract

String PHONETIC_NAME

This constant was deprecated in API level 5. see ContactsContract

String PHOTO_VERSION

This constant is deprecated. see ContactsContract

String SEND_TO_VOICEMAIL

This constant is deprecated. see ContactsContract

String STARRED

This constant is deprecated. see ContactsContract

String TIMES_CONTACTED

This constant is deprecated. see ContactsContract

String ISPRIMARY

This constant is deprecated. see ContactsContract

String LABEL

This constant is deprecated. see ContactsContract

String NUMBER

This constant is deprecated. see ContactsContract

String NUMBER_KEY

This constant is deprecated. see ContactsContract

String TYPE

This constant is deprecated. see ContactsContract

int TYPE_CUSTOM

This constant is deprecated. see ContactsContract

int TYPE_FAX_HOME

This constant is deprecated. see ContactsContract

int TYPE_FAX_WORK

This constant is deprecated. see ContactsContract

int TYPE_HOME

This constant is deprecated. see ContactsContract

int TYPE_MOBILE

This constant is deprecated. see ContactsContract

int TYPE_OTHER

This constant is deprecated. see ContactsContract

int TYPE_PAGER

This constant is deprecated. see ContactsContract

int TYPE_WORK

This constant is deprecated. see ContactsContract

Fields

public static final Uri CONTENT_FILTER_URL

This field is deprecated. see ContactsContract

public static final Uri CONTENT_URI

This field is deprecated. see ContactsContract

Public methods

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

This method is deprecated. see ContactsContract

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

This method is deprecated. see ContactsContract

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

CONTENT_ITEM_TYPE

Added in API level 1
public static final String CONTENT_ITEM_TYPE

This constant is deprecated.
see ContactsContract

The MIME type of a CONTENT_URI subdirectory of a single phone.

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

CONTENT_TYPE

Added in API level 1
public static final String CONTENT_TYPE

This constant is deprecated.
see ContactsContract

The MIME type of CONTENT_URI providing a directory of phones.

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

DEFAULT_SORT_ORDER

Added in API level 1
public static final String DEFAULT_SORT_ORDER

This constant is deprecated.
see ContactsContract

The default sort order for this table

Constant Value: "name ASC"

PERSON_ID

Added in API level 1
public static final String PERSON_ID

This constant is deprecated.
see ContactsContract

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

Type: INTEGER (long)

Constant Value: "person"

Fields

CONTENT_FILTER_URL

Added in API level 1
public static final Uri CONTENT_FILTER_URL

This field is deprecated.
see ContactsContract

The content:// style URL for filtering phone numbers

CONTENT_URI

Added in API level 1
public static final Uri CONTENT_URI

This field is deprecated.
see ContactsContract

The content:// style URL for this table

Public methods

getDisplayLabel

Added in API level 1
public static CharSequence getDisplayLabel (Context context, 
                int type, 
                CharSequence label, 
                CharSequence[] labelArray)

This method is deprecated.
see ContactsContract

Parameters
context Context

type int

label CharSequence

labelArray CharSequence

Returns
CharSequence

getDisplayLabel

Added in API level 1
public static CharSequence getDisplayLabel (Context context, 
                int type, 
                CharSequence label)

This method is deprecated.
see ContactsContract

Parameters
context Context

type int

label CharSequence

Returns
CharSequence