Top "Android-sqlite" questions

Android uses SQLite to store and retrieve data persistently.

SQLite Connection leaked although everything closed

I found many stuff like close the connection and close the cursor, but I do all this stuff. Still the …

android android-sqlite sqliteopenhelper
How to properly close a cursor in android

I have this database using sqlite, and I'm having problem with closing the cursor its saying that Application did not …

android android-sqlite android-cursor
How to use Room Persistence Library with pre-populated database?

I'd like to use Room with a pre-populated database, but I can't understand how to tell Room where to find …

android android-sqlite android-room
Android Room compile-time warning about column in foreign key not part of an index. What does it mean?

I'm using Android's Room Persistence Library from the Android Architecture Components recently announced at Google I/O. Things seem to …

android sqlite android-sqlite android-room
How to get started with SQLCipher for android?

I need to use SQLCipher for android...i've already made my app using SQLite and want to just convert it …

android database android-sqlite sqlcipher
android.database.sqlite.SQLiteException: no such column : id (code 1) while compiling : s

following error found when I click on "Insert" button Error Found :android.database.sqlite.SQLiteException: no such column : id (code 1) …

android sql-server android-sqlite sqliteopenhelper sqlite
How to fix content provider url not found in android Content provider?

I have followed the below tutorial http://www.vogella.de/articles/AndroidSQLite/article.htm But getting this exception after clicking …

android android-sqlite android-contentprovider
store long value in android database

How do I store long values in Android SQLite database ? I am trying to store the time(milliseconds) values which …

android android-sqlite
Is the onUpgrade method ever called?

Is the onUpgrade method of SQLiteOpenHelper ever called? If so, when is it called and by what? If it is …

java android android-sqlite
Android SQLite Database Unit Testing

I'm new to android app development and I just made a note app. I want to do unit tests for …

android sqlite unit-testing android-sqlite android-testing