SQLiteDatabase db=this.getReadableDatabase();Cursor cursor=db.rawQuery(selectQuery, null);int rowCount=cursor.getCount();db.close();cursor.close();最后關閉是為什么?不關閉會怎么樣?出錯嗎?還是加重負擔?
- 2 回答
- 0 關注
- 555 瀏覽
添加回答
舉報
0/150
提交
取消