getContentResolver().delete(Contacts.Phones.CONTEN T_URI, null


Last Updated:

  1. leverd

    leverd New Member This Topic's Starter

    Joined:
    May 19, 2010
    Messages:
    2
    Likes Received:
    0
    I want to delete multiple phone numbers in a single query. I'm using the following code.

    Code (Text):
    1. getContentResolver.delete(Contacts.Phones.CONTENT_FILTER_URL, null, null);
    I will be adding where/select args to limit what I delete, but even the above throws an exception.

    java.lang.UnsupportedOperationException: Cannot delete that URL: content://contacts/phones

    Shouldn't it be possible to do this? I'm using v1.5.

    Thanks for any help!
     

    Advertisement
  2. leverd

    leverd New Member This Topic's Starter

    Joined:
    May 19, 2010
    Messages:
    2
    Likes Received:
    0

Share This Page

Loading...