• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

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

leverd

Lurker
I want to delete multiple phone numbers in a single query. I'm using the following code.

Code:
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!
 
Back
Top Bottom