查询大数据时 报错
android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=0, totalRows=1解决办法:cursor = DB.rawQuery("select * from "+ DBhelpUtil.TABLE_NAME+" where id =?",new String[]{id+""});// 解决报错;android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=0, totalRows=1// 设置CursorWindow的大小为5000000
CursorWindow cw = new CursorWindow("test", 5000000);
AbstractWindowedCursor ac = (AbstractWindowedCursor) cursor;
ac.setWindow(cw);
没有读、写配置权限
Process: com.example.mygetdata, PID: 21370java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{a76da5b 21370:com.example.mygetdata/u0a266} (pid=21370, uid=10266) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
数组适配器 里面只能是 TextView
Process: com.example.mygetdata, PID: 11963
java.lang.IllegalStateException:ArrayAdapter requires the resource ID to be a TextView
继续记录中...