1. Download our Official Android App: Forums for Android!

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

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

  1. leverd

    leverd Lurker
    Thread Starter
    5

    May 19, 2010
    2
    0
    5
    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 Lurker
    Thread Starter
    5

    May 19, 2010
    2
    0
    5

Share This Page

Loading...