Android - how to delete item from a cursor?

前端 未结 2 1219
长情又很酷
长情又很酷 2021-01-14 05:08

Let\'s say I make the following cursor to get the call log of someone:

String[] strFields = {
    android.provider.CallLog.Calls.NUMBER, 
    android.provide         


        
2条回答
  •  抹茶落季
    2021-01-14 05:14

    Sorry mate you can't delete from a cursor.

    You must either use your ContentResolver or a SQL call of some sort..

提交回复
热议问题