Hi,
I have forgotten to close cursors at many places.There is a refresh data functionality in which I delete SQLite database.It downloads again on next login.
The problem is many a times on refreshing (deleting database) it gives error related to SQLite database.Could it be because of open cursors.
So instead of closing each cursor can I close SQL in each activity which will close all open cursors in that activity or I need to close all individual cursors.
Please guide me.
Thanks
Juzer
I have forgotten to close cursors at many places.There is a refresh data functionality in which I delete SQLite database.It downloads again on next login.
The problem is many a times on refreshing (deleting database) it gives error related to SQLite database.Could it be because of open cursors.
So instead of closing each cursor can I close SQL in each activity which will close all open cursors in that activity or I need to close all individual cursors.
Please guide me.
Thanks
Juzer