# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Constants | Inherited Constants | Fields | Methods | Inherited Methods

# Contacts.ContactMethods

`public static final class Contacts.ContactMethods`
`extends Object` `implements BaseColumns, Contacts.ContactMethodsColumns, Contacts.PeopleColumns`

java.lang.Object
↳ | android.provider.Contacts.ContactMethods

This class is deprecated.
see `ContactsContract`

This table stores all non-phone contact methods and a reference to the person that the contact method belongs to.

## Summary

### Constants
`String` | `CONTENT_EMAIL_ITEM_TYPE` This constant is deprecated. see `ContactsContract`
`String` | `CONTENT_EMAIL_TYPE` This constant is deprecated. see `ContactsContract`
`String` | `CONTENT_IM_ITEM_TYPE` This constant is deprecated. see `ContactsContract`
`String` | `CONTENT_POSTAL_ITEM_TYPE` This constant is deprecated. see `ContactsContract`
`String` | `CONTENT_POSTAL_TYPE` This constant is deprecated. see `ContactsContract`
`String` | `CONTENT_TYPE` This constant is deprecated. see `ContactsContract` phones.
`String` | `DEFAULT_SORT_ORDER` This constant is deprecated. see `ContactsContract`
`String` | `PERSON_ID` This constant is deprecated. see `ContactsContract`
`String` | `POSTAL_LOCATION_LATITUDE` This constant is deprecated. see `ContactsContract`
`String` | `POSTAL_LOCATION_LONGITUDE` This constant is deprecated. see `ContactsContract`
`int` | `PROTOCOL_AIM` This constant is deprecated. see `ContactsContract`
`int` | `PROTOCOL_GOOGLE_TALK` This constant is deprecated. see `ContactsContract`
`int` | `PROTOCOL_ICQ` This constant is deprecated. see `ContactsContract`
`int` | `PROTOCOL_JABBER` This constant is deprecated. see `ContactsContract`
`int` | `PROTOCOL_MSN` This constant is deprecated. see `ContactsContract`
`int` | `PROTOCOL_QQ` This constant is deprecated. see `ContactsContract`
`int` | `PROTOCOL_SKYPE` This constant is deprecated. see `ContactsContract`
`int` | `PROTOCOL_YAHOO` This constant is deprecated. see `ContactsContract`

### Inherited constants
From interface `android.provider.BaseColumns`
`String` | `_COUNT` The count of rows in a directory.
`String` | `_ID` The unique ID for a row.
From interface `android.provider.Contacts.ContactMethodsColumns`
`String` | `AUX_DATA` This constant is deprecated. see `ContactsContract`
`String` | `DATA` This constant is deprecated. see `ContactsContract`
`String` | `ISPRIMARY` This constant is deprecated. see `ContactsContract`
`String` | `KIND` This constant is deprecated. see `ContactsContract`
`String` | `LABEL` 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_HOME` This constant is deprecated. see `ContactsContract`
`int` | `TYPE_OTHER` This constant is deprecated. see `ContactsContract`
`int` | `TYPE_WORK` This constant is deprecated. see `ContactsContract`
From interface `android.provider.Contacts.PeopleColumns`
`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 is deprecated. 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`

### Fields
`public static final Uri` | `CONTENT_EMAIL_URI` This field is deprecated. see `ContactsContract`
`public static final Uri` | `CONTENT_URI` This field is deprecated. see `ContactsContract`

### Public methods
`void` | `addPostalLocation(Context context, long postalId, double latitude, double longitude)` This method is deprecated. see `ContactsContract`
`static Object` | `decodeImProtocol(String encodedString)` This method is deprecated. see `ContactsContract`
`static String` | `encodeCustomImProtocol(String protocolString)` This method is deprecated. see `ContactsContract`
`static String` | `encodePredefinedImProtocol(int protocol)` This method is deprecated. see `ContactsContract`
`static CharSequence` | `getDisplayLabel(Context context, int kind, int type, CharSequence label)` This method is deprecated. see `ContactsContract`

### Inherited methods
From class `java.lang.Object`
`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 timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Constants

### CONTENT_EMAIL_ITEM_TYPE

    public static final String CONTENT_EMAIL_ITEM_TYPE

This constant is deprecated.
see `ContactsContract`

The MIME type of a `CONTENT_URI` sub-directory of a single `Contacts#KIND_EMAIL` entry.

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

### CONTENT_EMAIL_TYPE

    public static final String CONTENT_EMAIL_TYPE

This constant is deprecated.
see `ContactsContract`

The MIME type of a `CONTENT_EMAIL_URI` sub-directory of multiple `Contacts#KIND_EMAIL` entries.

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

### CONTENT_IM_ITEM_TYPE

    public static final String CONTENT_IM_ITEM_TYPE

This constant is deprecated.
see `ContactsContract`

The MIME type of a `CONTENT_URI` sub-directory of a single `Contacts#KIND_IM` entry.

Constant Value: "vnd.android.cursor.item/jabber-im"

### CONTENT_POSTAL_ITEM_TYPE

    public static final String CONTENT_POSTAL_ITEM_TYPE

This constant is deprecated.
see `ContactsContract`

The MIME type of a `CONTENT_URI` sub-directory of a single `Contacts#KIND_POSTAL` entry.

Constant Value: "vnd.android.cursor.item/postal-address"

### CONTENT_POSTAL_TYPE

    public static final String CONTENT_POSTAL_TYPE

This constant is deprecated.
see `ContactsContract`

The MIME type of a `CONTENT_EMAIL_URI` sub-directory of multiple `Contacts#KIND_POSTAL` entries.

Constant Value: "vnd.android.cursor.dir/postal-address"

### CONTENT_TYPE

    public static final String CONTENT_TYPE

This constant is deprecated.
see `ContactsContract` phones.

The MIME type of `CONTENT_URI` providing a directory of

Constant Value: "vnd.android.cursor.dir/contact-methods"

### DEFAULT_SORT_ORDER

    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

    public static final String PERSON_ID

This constant is deprecated.
see `ContactsContract`

The ID of the person this contact method is assigned to.

Type: INTEGER (long)

Constant Value: "person"

### POSTAL_LOCATION_LATITUDE

    public static final String POSTAL_LOCATION_LATITUDE

This constant is deprecated.
see `ContactsContract`

The column with latitude data for postal locations

Type: REAL

Constant Value: "data"

### POSTAL_LOCATION_LONGITUDE

    public static final String POSTAL_LOCATION_LONGITUDE

This constant is deprecated.
see `ContactsContract`

The column with longitude data for postal locations

Type: REAL

Constant Value: "aux_data"

### PROTOCOL_AIM

    public static final int PROTOCOL_AIM

This constant is deprecated.
see `ContactsContract`

The predefined IM protocol types. The protocol can either be non-present, one of these types, or a free-form string. These cases are encoded in the AUX_DATA column as: - null - pre: - custom:

Constant Value: 0 (0x00000000)

### PROTOCOL_GOOGLE_TALK

    public static final int PROTOCOL_GOOGLE_TALK

This constant is deprecated.
see `ContactsContract`

Constant Value: 5 (0x00000005)

### PROTOCOL_ICQ

    public static final int PROTOCOL_ICQ

This constant is deprecated.
see `ContactsContract`

Constant Value: 6 (0x00000006)

### PROTOCOL_JABBER

    public static final int PROTOCOL_JABBER

This constant is deprecated.
see `ContactsContract`

Constant Value: 7 (0x00000007)

### PROTOCOL_MSN

    public static final int PROTOCOL_MSN

This constant is deprecated.
see `ContactsContract`

Constant Value: 1 (0x00000001)

### PROTOCOL_QQ

    public static final int PROTOCOL_QQ

This constant is deprecated.
see `ContactsContract`

Constant Value: 4 (0x00000004)

### PROTOCOL_SKYPE

    public static final int PROTOCOL_SKYPE

This constant is deprecated.
see `ContactsContract`

Constant Value: 3 (0x00000003)

### PROTOCOL_YAHOO

    public static final int PROTOCOL_YAHOO

This constant is deprecated.
see `ContactsContract`

Constant Value: 2 (0x00000002)

## Fields

### CONTENT_EMAIL_URI

    public static final Uri CONTENT_EMAIL_URI

This field is deprecated.
see `ContactsContract`

The content:// style URL for sub-directory of e-mail addresses.

### CONTENT_URI

    public static final Uri CONTENT_URI

This field is deprecated.
see `ContactsContract`

The content:// style URL for this table

## Public methods

### addPostalLocation

    public void addPostalLocation (Context context,
                    long postalId,
                    double latitude,
                    double longitude)

This method is deprecated.
see `ContactsContract`

Add a longitude and latitude location to a postal address.

Parameters
`context` | `Context`: the context to use when updating the database
`postalId` | `long`: the address to update
`latitude` | `double`: the latitude for the address
`longitude` | `double`: the longitude for the address

### decodeImProtocol

    public static Object decodeImProtocol (String encodedString)

This method is deprecated.
see `ContactsContract`

Parameters
`encodedString` | `String`

Returns
`Object` |

### encodeCustomImProtocol

    public static String encodeCustomImProtocol (String protocolString)

This method is deprecated.
see `ContactsContract`

Parameters
`protocolString` | `String`

Returns
`String` |

### encodePredefinedImProtocol

    public static String encodePredefinedImProtocol (int protocol)

This method is deprecated.
see `ContactsContract`

Parameters
`protocol` | `int`

Returns
`String` |

### getDisplayLabel

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

This method is deprecated.
see `ContactsContract`

Parameters
`context` | `Context`
`kind` | `int`
`type` | `int`
`label` | `CharSequence`

Returns
`CharSequence` |

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*