android.provider.Contacts
The Contacts provider stores all information about contacts.
Nested Classes
Summary
Constants
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
public
static
final
String
AUTHORITY
Constant Value:
"contacts"
public
static
final
Uri
CONTENT_URI
The content:// style URL for this provider
Public Methods
public
static
boolean
mergeContacts(ContentResolver cr, long mergeSourceId, long mergeTargetId)
Merges the contacts from the source to the target, then
deletes the source.
Parameters
| cr
| the ContentResolver to use to access the data store |
| mergeSourceId
| the rowId of the contact to merge from |
| mergeTargetId
| the rowId of the contact to merge to |
Returns
- true, if the merge was successful