| java.lang.Object | ||
| android.provider.Contacts.ContactMethods | BaseColumns Contacts.ContactMethodsColumns Contacts.PeopleColumns | |
This table stores all non-phone contact methods and a reference to the person that the contact method belongs to.
| Value | ||||
|---|---|---|---|---|
| String | CONTENT_EMAIL_ITEM_TYPE | The MIME type of a CONTENT_URI sub-directory of a single EMAIL_KIND entry. | "vnd.android.cursor.item/email" | |
| String | CONTENT_EMAIL_TYPE | The MIME type of a CONTENT_EMAIL_URI sub-directory of\ multiple EMAIL_KIND entries. | "vnd.android.cursor.dir/email" | |
| Uri | CONTENT_EMAIL_URI | The content:// style URL for sub-directory of e-mail addresses. | ||
| String | CONTENT_JABBER_ITEM_TYPE | The MIME type of a CONTENT_URI sub-directory of a single JABBER_IM_KIND entry. | "vnd.android.cursor.item/jabber-im" | |
| String | CONTENT_POSTAL_ITEM_TYPE | The MIME type of a CONTENT_URI sub-directory of a single POSTAL_KIND entry. | "vnd.android.cursor.item/postal-address" | |
| String | CONTENT_TYPE | The MIME type of CONTENT_URI providing a directory of phones. | "vnd.android.cursor.dir/contact-methods" | |
| 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 contact method is assigned to. | "person" | |
| String | POSTAL_LOCATION_LATITUDE | The column with latitude data for postal locations
Type: REAL |
"data" | |
| String | POSTAL_LOCATION_LONGITUDE | The column with longitude data for postal locations
Type: REAL |
"aux_data" | |
Constants inherited
from interface
android.provider.Contacts.PeopleColumns
Constants inherited
from interface
android.provider.BaseColumns
Constants inherited
from interface
android.provider.Contacts.ContactMethodsColumns
| void | addPostalLocation(Context context, long postalId, double latitude, double longitude) | ||||
| Add a longitude and latitude location to a postal address. | |||||
| final | static | CharSequence | getDisplayLabel(Context context, int kind, int type, CharSequence label) | ||
Methods inherited
from class
java.lang.Object
Type: INTEGER (long)
Type: REAL
Type: REAL
| context | the context to use when updating the database |
|---|---|
| postalId | the address to update |
| latitude | the latitude for the address |
| longitude | the longitude for the address |