SQLite in android -
my android application uses sqlite database , during first run deletes rows . next time runs tries same , because rows deleted fails . use sqlite database browser inspect database ,after first run (when rows deleted) , observe rows no longer should exist still in database , if ehwn running app again rows no longer visible ! cause behavior ?
i have overcome throwing cursor , checking size of cursor object using getcount() method; if comes out zero, branch off , stop attempting db actions other creating rows/tables.
Comments
Post a Comment