Top "Android-sqlite" questions

Android uses SQLite to store and retrieve data persistently.

Best option to store username and password in android app

I am developing an Android app where the user needs to sign in to perform operations. But mostly on an …

android android-sqlite sharedpreferences android-preferences
Android SQLite Query - Getting latest 10 records

I have a database saved in my Android application and want to retrieve the last 10 messages inserted into the DB. …

android sql sqlite android-sqlite
How to import Room Persistence Library to an Android project

I recently saw the new feature announced on Google I/O Room Persistence Library to work with Sqlite databases on …

android sqlite android-sqlite android-room
Convert SQLite to JSON

Is there a way to convert sqlite to json? All other questions are parsing json and saving to sqlite. I …

android android-sqlite android-json
SQLite returned an error code of 14

I am trying to copy an existing database from my assets folder and execute some operations on it. Everything is …

android database android-sqlite
Attempt to reopen an already-closed object sqlitedatabase

I have a databaseHandler. I need to count the rows in table. App crashes by this error: android attempt to …

android sqlite android-sqlite
How to store sqlite database directly on sdcard

i want to create my sqlite database in sdcard instead of default path...i want to access all my data …

android sqlite android-sqlite
SQLite database update query with multiple where conditions in Android

I want to update my database table with multiple where conditions. I already did with single where condition db.update(…

android database sqlite android-sqlite
How insert image in room persistence library?

I am using room persistence library for my android application, Now I have to insert image in my db. I …

android sqlite android-sqlite android-room
Best practices for working with multiple tables

I use a database with multiple tables in my application. I have an XML parser which needs to write data …

android database android-sqlite