yeah, you are right, i was totally confused...
already found the error myself some time later..
i mixed up contact ID and data-row ID..
volcano-ash seemed to influence me this morning ;)
it now updates correctly using:
oerations.add(ContentProviderOperation.newUpdate(
Contact
What's the _id here? It should be the data row id, not the contact id. Also,
you shouldn't specify the mime type in an update statement - it is not
updatable.
Cheers,
Dmitri
On Apr 19, 2010 2:44 AM, "Timo Prill" wrote:
> hi all,
>
> i got a problem updating a contact's details.
> i use the follo
hi all,
i got a problem updating a contact's details.
i use the following code to update the contact name:
"operations" is a ArrayList of ContentProviderOperation.
operations.add(ContentProviderOperation.newUpdate(
ContactsContract.Data.CONTENT_URI)
.with
3 matches
Mail list logo