android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0

后端 未结 7 2210
甜味超标
甜味超标 2020-11-27 14:14

I am using custom adapter extending cursor adapter for displaying data in listview, to display particular phone number i have passed the id to a method in database class but

7条回答
  •  感情败类
    2020-11-27 15:09

    In case people are still looking:

    Instead of searching for "ContactNumber" try searching for Phone.NUMBER. The tutorial has the code with more details: http://developer.android.com/training/basics/intents/result.html

提交回复
热议问题