I see only the difference from my code (which is working)
DELETE
is that instead of putting Phones.CONTENT_URI put
Contacts.Phones.CONTENT_URI

UPDATE
provide to the update method phoneId, get uri and call update:
phoneUri = ContentUris.withAppendedId(Contacts.Phones.CONTENT_URI,
phoneId);
row = getContentResolver().update(phoneUri,values, null, null);

PS Append Contacts to all Phones entries: Contacts.Phones

ildus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to