Am I missing close() ?
Well, I have a bug in the emulator, but it does not make it close. This is an Invalid Starement in fillWindow() cursor with a PID of 651. I know what it should do with my database cursor. My ListView is populated with startManagingCursor(c) , but I'm not sure. If I need to close it, I am not using a managed request.
In my onCreate I have
db = new DBase(this); db.open(); fillData(); db.close();
and in my onResume I have
db.open(); fillData(); db.close();
I tried putting db.close(); in my onDestroy and it still throws this error.
android sqlite cursor
Bill gary
source share