Make sure the Cursor is initialized correctly before accessing data from it.问题应该在Cursor那里,代码没有报错,不知道怎么修改。
在访问数据之前你没有对Cursor进行初始化工作吧