Top "Android-sqlite" questions

Android uses SQLite to store and retrieve data persistently.

Correctly open/close a database with Singleton design pattern

I am creating an application which makes a lot of interactions with a database (both read and write operations). To …

android android-sqlite android-lifecycle sqliteopenhelper
When does OnUpgrade get called and how does it get the oldVersion parameter?

I am working on an update for my current app. My app use SQLite DB and so far I am …

android android-sqlite
How to develop an offline-first native Android app

We are developing a native Android app (iOS and web to follow) where users can collaboratively create an album. We …

android android-sqlite offline-caching offlineapps offline-mode
Backup/Restore SQLlite Database to Google Drive app folder

I am trying to incorporate the functionality to backup and restore the app database to google drives app folder (NOT …

android android-sqlite google-drive-android-api
search items in database and display dropdown list

I have the following app architecture (generalized for simplification): main Layout consists of ActionBar with custom View and scrollable Tabs, …

android android-sqlite android-search
How to implement SQLCipher when using SQLiteOpenHelper

I am trying to secure some sensible data by implementing encryption in my already existing and functioning database setup in …

android sqlite android-sqlite
SQLite data to a RecyclerView

The app has data in a SQLite database. The UI is primarily a RecyclerView. The question is how to best …

android android-sqlite android-contentprovider android-recyclerview android-cursorloader
Upgrading database version automatically

Hi i am creating an app which stores the password of the user entering. and whenever he needs to change …

android android-sqlite database-versioning
Implementing Search with Room

Recently I have been messing around with Android Architecture Components (more specifically Room) but I have hit a bit of …

android full-text-search android-sqlite android-room android-search
Should there be one SQLiteOpenHelper for each table in the database?

Is it better to have a single big SQLiteOpenHelper subclass that defines onCreate and onUpgrade methods for every table in …

android database android-sqlite