Top "Android-sqlite" questions

Android uses SQLite to store and retrieve data persistently.

How to access data/data folder in Android device?

I am developing an app and I know my database *.db will appear in data/data/com.****.*** I can access …

android android-emulator android-sqlite adb
View contents of database file in Android Studio

I have been using Android Studio to develop my app since it's was released. Everything works nice until recently, I …

android android-studio android-sqlite ddms
Ship an application with a database

If your application requires a database and it comes with built in data, what is the best way to ship …

android android-sqlite android-database
How to perform an SQLite query within an Android application?

I am trying to use this query upon my Android database, but it does not return any data. Am I …

android sqlite android-sqlite
Set default value of an integer column SQLite

I am creating an SQLite database in android. db.execSQL("CREATE TABLE " + DATABASE_TABLE + " (" + KEY_ROWID + " INTEGER PRIMARY KEY AUTOINCREMENT, " + …

android database sqlite android-sqlite
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database

I have read various on site about this issue but I am not able to figure this out. I am …

android android-sqlite
How to get row count in sqlite using Android?

I am creating task manager. I have tasklist and I want when I click on particular tasklist name if it …

android android-sqlite onitemclicklistener
When is SQLiteOpenHelper onCreate() / onUpgrade() run?

I have created my tables in my SQLiteOpenHelper onCreate() but receive SQLiteException: no such table or SQLiteException: no such column …

android sqlite android-sqlite sqlexception sqliteopenhelper
Inserting current date and time in SQLite database

I want to create a table in SQLite in which one of the field is for date, in which date …

sqlite android-sqlite
Get the field value with a Cursor

I'm creating an application and I have problems with Cursor. I have an SQLiteDatabase that returns me a Cursor when …

java android android-sqlite