
===============================================================================
ContactsContract.Contacts
===============================================================================
*** Constants ***
Uri  	CONTENT_FILTER_URI  	The content:// style URI used for
 				"type-to-filter" functionality on the CONTENT_URI URI.
Uri 	CONTENT_GROUP_URI 	
String 	CONTENT_ITEM_TYPE 	The MIME type of a CONTENT_URI subdirectory of
 				a single person.
Uri 	CONTENT_LOOKUP_URI 	A content:// style URI for this table that
 				should be used to create shortcuts or otherwise
 				create long-term links to contacts.
Uri 	CONTENT_STREQUENT_FILTER_URI
			 	The content:// style URI used for "type-to-filter"
 				functionality on the CONTENT_STREQUENT_URI URI.
Uri 	CONTENT_STREQUENT_URI 	The content:// style URI for this table joined
 				with useful data from ContactsContract.Data,
 				filtered to include only starred contacts and
 				the most frequently contacted contacts.
String 	CONTENT_TYPE 		The MIME type of CONTENT_URI providing a
 				directory of people.
Uri 	CONTENT_URI 		The content:// style URI for this table
String 	CONTENT_VCARD_TYPE 	The MIME type of a CONTENT_URI subdirectory of
 				a single person.
Uri 	CONTENT_VCARD_URI 	Base Uri for referencing a single Contacts
 				entry, created by appending LOOKUP_KEY using
				withAppendedPath(Uri, String).
String 	DISPLAY_NAME_ALTERNATIVE 	
				An alternative representation of the display
 				name, such as "family name first" instead of
 				"given name first" for Western names.
String 	DISPLAY_NAME_PRIMARY 	
				The standard text shown as the contact's display
 				name, based on the best available information
 				for the contact (for example, it might be the
 				email address if the name is not available).
String 	DISPLAY_NAME_SOURCE 	The kind of data that is used as the display
 				name for the contact, such as structured name
 				or email address.
String 	PHONETIC_NAME 	
				Pronunciation of the full name in the phonetic
 				alphabet specified by PHONETIC_NAME_STYLE.
String 	PHONETIC_NAME_STYLE 	The phonetic alphabet used to represent the PHONETIC_NAME.
String 	SORT_KEY_ALTERNATIVE 	Sort key based on the alternative representation
 				of the full name, DISPLAY_NAME_ALTERNATIVE.
String 	SORT_KEY_PRIMARY 	Sort key that takes into account locale-based
 				traditions for sorting names in address books.


===============================================================================
ContactsContract.Contacts.Data
===============================================================================
*** Constants ***
String  CONTENT_DIRECTORY  	The directory twig for this sub-table 


===============================================================================
ContactsContract.ContactOptionsColumns
===============================================================================
*** Constants ***
String  CUSTOM_RINGTONE  	URI for a custom ringtone associated with the contact.
String 	LAST_TIME_CONTACTED 	The last time a contact was contacted.
String 	SEND_TO_VOICEMAIL 	Whether the contact should always be sent to voicemail.
String 	STARRED 		Is the contact starred?
				Type: INTEGER (boolean)
String 	TIMES_CONTACTED 	The number of times a contact has been contacted
				Type: INTEGER


===============================================================================
ContactsContract.DataColumns
===============================================================================
*** Constants ***
String  DATA1-DATA15	  	Generic data column, the meaning is MIMETYPE specific
String 	DATA_VERSION 		The version of this data record.
String 	IS_PRIMARY 		Whether this is the primary entry of its kind
 				for the raw contact it belongs to.
String 	IS_SUPER_PRIMARY 	Whether this is the primary entry of its kind
 				for the aggregate contact it belongs to.
String 	MIMETYPE 		The MIME type of the item represented by this row.
String 	RAW_CONTACT_ID 		A reference to the _ID that this data belongs to.
String 	SYNC1-SYNC4	 	Generic column for use by sync adapters.


===============================================================================
ContactsContract.Groups
===============================================================================
*** Settings ***
long  	_ID  		  	Row ID. Sync adapter should try to preserve row
 				IDs during updates. In other words, it would be
	 			a really bad idea to delete and reinsert a group.
 				A sync adapter should always do an update instead.
String 	TITLE 		 	The display title of this group (read/write).
String 	NOTES 		 	Notes about the group (read/write).
String 	SYSTEM_ID 	 	The ID of this group if it is a System Group,
 				i.e. a group that has a special meaning to the
 				sync adapter, null otherwise (read/write).
int 	SUMMARY_COUNT 	 	The total number of Contacts that have
 				ContactsContract.CommonDataKinds.GroupMembership
	 			in this group. Read-only value that is only
 				present when querying CONTENT_SUMMARY_URI
				(read-only).
int 	SUMMARY_WITH_PHONES  	The total number of Contacts that have both
 				ContactsContract.CommonDataKinds.GroupMembership
 				in this group, and also have phone numbers.
 				Read-only value that is only present when
 				querying CONTENT_SUMMARY_URI.
int 	GROUP_VISIBLE 	 	Flag indicating if the contacts belonging to
 				this group should be visible in any user interface.
 				Allowed values: 0 and 1 (read-only).
int 	DELETED 	 	The "deleted" flag: "0" by default, "1" if the
 				row has been marked for deletion. When
 				delete(Uri, String, String[]) is called on a
 				group, it is marked for deletion. The sync adaptor
 				deletes the group on the server and then calls
 				ContactResolver.delete once more, this time
 				setting the the CALLER_IS_SYNCADAPTER query
 				parameter to finalize the data removal (read/write).
int 	SHOULD_SYNC 	 	Whether this group should be synced if the
 				SYNC_EVERYTHING settings is false for this
 				group's account (read/write).
*** Constants ***
String  CONTENT_ITEM_TYPE  	The MIME type of a single group.
Uri 	CONTENT_SUMMARY_URI 	The content:// style URI for this table
				joined with details data from ContactsContract.Data.
String 	CONTENT_TYPE 		The MIME type of a directory of groups.
Uri 	CONTENT_URI 	


===============================================================================
ContactsContract.Settings
===============================================================================
*** Settings ***
String  ACCOUNT_NAME  	  	The name of the account instance to which this
 				row belongs (read/write-once).
String 	ACCOUNT_TYPE 	 	The type of account to which this row belongs,
 				which when paired with ACCOUNT_NAME identifies
				a specific account (read/write-once).
int 	SHOULD_SYNC 	 	Depending on the mode defined by the sync-adapter,
 				this flag controls the top-level sync behavior
			 	for this data source (read/write).
int 	UNGROUPED_VISIBLE  	Flag indicating if contacts without any
	 			ContactsContract.CommonDataKinds.GroupMembership
			 	entries should be visible in any user interface
				(read/write).
int 	ANY_UNSYNCED 		Read-only flag indicating if this SHOULD_SYNC
 				or any SHOULD_SYNC under this account have been
 				marked as unsynced.
int 	UNGROUPED_COUNT 	Read-only count of Contacts from a specific
 				source that have no ContactsContract.CommonDataKinds.GroupMembership entries.
int 	UNGROUPED_WITH_PHONES 	Read-only count of Contacts from a specific
				source that have no ContactsContract.
				CommonDataKinds.GroupMembership entries, and
 				also have phone numbers.
*** Constants ***
String  CONTENT_ITEM_TYPE  	The MIME-type of CONTENT_URI providing a single setting.
String 	CONTENT_TYPE 		The MIME-type of CONTENT_URI providing a directory of settings.
Uri 	CONTENT_URI 		The content:// style URI for this table 


===============================================================================
ContactsContract.CommonDataKinds.BaseTypes
===============================================================================
*** Constants ***
int  	TYPE_CUSTOM  		A custom type.


===============================================================================
ContactsContract.CommonDataKinds.CommonColumns
===============================================================================
*** Constants ***
String  DATA  			The data for the contact method.
String 	LABEL 			The user defined label for the the contact method.
String 	TYPE 			The type of data, for example Home or Work.


===============================================================================
ContactsContract.CommonDataKinds.Email
===============================================================================
*** Constants ***
String 	CONTENT_ITEM_TYPE 	MIME type used when storing this in data table.
Uri  	CONTENT_FILTER_URI  	The content:// style URL for email lookup using a filter.
Uri 	CONTENT_LOOKUP_URI 	The content:// style URL for looking up data
				rows by email address.
String 	CONTENT_TYPE 		The MIME type of CONTENT_URI providing a
				directory of email addresses.
Uri 	CONTENT_URI 		The content:// style URI for all data records of
				the CONTENT_ITEM_TYPE MIME type, combined with
				the associated raw contact and aggregate contact data.
String 	DISPLAY_NAME 		The display name for the email address
				Type: TEXT
int 	TYPE_HOME 	
int 	TYPE_MOBILE 	
int 	TYPE_OTHER 	
int 	TYPE_WORK 	


===============================================================================
ContactsContract.CommonDataKinds.Event
===============================================================================
*** Constants ***
String  CONTENT_ITEM_TYPE  	MIME type used when storing this in data table.
String 	START_DATE 		The event start date as the user entered it.
int 	TYPE_ANNIVERSARY 	
int 	TYPE_BIRTHDAY 	
int 	TYPE_OTHER 	


===============================================================================
ContactsContract.CommonDataKinds.Nickname
===============================================================================
*** Constants ***
String  CONTENT_ITEM_TYPE  	MIME type used when storing this in data table.
String 	NAME 			The name itself
int 	TYPE_DEFAULT 	
int 	TYPE_INITIALS 	
int 	TYPE_MAINDEN_NAME 	
int 	TYPE_OTHER_NAME 	
int 	TYPE_SHORT_NAME


===============================================================================
ContactsContract.CommonDataKinds.Organization
===============================================================================
*** Constants ***
String 	CONTENT_ITEM_TYPE 	MIME type used when storing this in data table.
String	COMPANY  		The company as the user entered it.
String 	DEPARTMENT 		The department at this company as the user entered it.
String 	JOB_DESCRIPTION 	The job description at this company as the user entered it.
String 	OFFICE_LOCATION 	The office location of this organization.
String 	PHONETIC_NAME 		The phonetic name of this company as the user entered it.
String 	SYMBOL 			The symbol of this company as the user entered it.
String 	TITLE 			The position title at this company as the user entered it.
int 	TYPE_OTHER 	
int 	TYPE_WORK


===============================================================================
ContactsContract.CommonDataKinds.Phone
===============================================================================
*** Constants ***
String 	CONTENT_ITEM_TYPE 	MIME type used when storing this in data table.
Uri  	CONTENT_FILTER_URI  	The content:// style URL for phone lookup using
 				a filter.
String 	CONTENT_TYPE 		The MIME type of CONTENT_URI providing a
 				directory of phones.
Uri 	CONTENT_URI 		The content:// style URI for all data records
				of the CONTENT_ITEM_TYPE MIME type, combined
				with the associated raw contact and aggregate
				contact data.
String 	NUMBER 			The phone number as the user entered it.
int 	TYPE_ASSISTANT 	
int 	TYPE_CALLBACK 	
int 	TYPE_CAR 	
int 	TYPE_COMPANY_MAIN 	
int 	TYPE_FAX_HOME 	
int 	TYPE_FAX_WORK 	
int 	TYPE_HOME 	
int 	TYPE_ISDN 	
int 	TYPE_MAIN 	
int 	TYPE_MMS 	
int 	TYPE_MOBILE 	
int 	TYPE_OTHER 	
int 	TYPE_OTHER_FAX 	
int 	TYPE_PAGER 	
int 	TYPE_RADIO 	
int 	TYPE_TELEX 	
int 	TYPE_TTY_TDD 	
int 	TYPE_WORK 	
int 	TYPE_WORK_MOBILE 	
int 	TYPE_WORK_PAGER 	


===============================================================================
ContactsContract.CommonDataKinds.Photo
===============================================================================
*** Constants ***
String  CONTENT_ITEM_TYPE  	MIME type used when storing this in data table.
String 	PHOTO 			Thumbnail photo of the raw contact.


mics/June 2010


