Error -12 means cursor leak.
Try to close it:
try {....} finally { cursor.close();}
More Related Contents:
- Best way to work with dates in Android SQLite [closed]
- android, how to exec a sql file in sqlitedatabase
- How can I avoid concurrency problems when using SQLite on Android?
- Android SQLite database: slow insertion
- Pros and Cons of SQLite and Shared Preferences [closed]
- Share SQLite database between 2 android apps?
- Android: upgrading DB version and adding new table
- How do I view the SQLite database on an Android device? [duplicate]
- Android SQLite Example [closed]
- Android database encryption
- How to add new Column to Android SQLite Database?
- Android SQLite: Update Statement
- What is a Full Android Database Helper class for an existing SQLite database? [closed]
- How do I create a database in android? [closed]
- How to save images into Database
- android java.lang.IllegalStateException: Couldn’t read row 0, col 0 from CursorWindow
- Android SimpleCursorAdapter doesn’t update when database changes
- Android SQLite Database, WHY drop table and recreate on upgrade
- App Crashes On Startup Due To java.lang.IllegalArgumentException: column ‘_id’ does not exist
- How does one check if a table exists in an Android SQLite database?
- Changing values from Cursor using SimpleCursorAdapter
- SQLiteOpenHelper – creating database on SD card
- SQLite android column not found
- How to store JSON object in SQLite database
- Queries with prepared statements in Android?
- How to view SQL database in Eclipse Debug mode for android
- SQLiteOpenHelper onUpgrade() Confusion Android
- sqlite insert into table select * from
- SQLite Foreign Key
- When to close db connection on android? Every time after your operation finished or after your app exit