1. Are you ready for the Galaxy S20? Here is everything we know so far!

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

Discussion in 'Android Development' started by leverd, May 19, 2010.

  1. leverd

    leverd Lurker
    Thread Starter

    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!
     



    1. Download the Forums for Android™ app!


      Download

       
  2. leverd

    leverd Lurker
    Thread Starter

Loading...
Similar Threads - getContentResolver delete Contacts
  1. melani78
    Replies:
    3
    Views:
    202
  2. Susanbee749
    Replies:
    1
    Views:
    274
  3. Alan Silberman
    Replies:
    4
    Views:
    371
  4. corvairbob
    Replies:
    6
    Views:
    689
  5. NeilGrootenboer
    Replies:
    1
    Views:
    302
  6. ketanco
    Replies:
    4
    Views:
    1,144
  7. connorhawke
    Replies:
    16
    Views:
    1,229
  8. noishloish
    Replies:
    13
    Views:
    2,472
  9. Fred Quimby
    Replies:
    3
    Views:
    903
  10. Milo Williamson
    Replies:
    0
    Views:
    710

Share This Page

Loading...