I'm having trouble deleting a phone number from the Phones table. This is the code I have to do that...
int count = getContentResolver.delete(Phones.CONTENT_URI, Phones.PERSON_ID+"="+id, where id is the value stored in the Person._ID column. The count always states that 0 rows are deleted, even if the person has phone numbers. I have no problem deleting a Person with the following code: int rows = _resolver.delete(People.CONTENT_URI, People._ID+"="+id, null); I also have problem deleting addresses What am I doing wrong? Thanks. James --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

