Top "Android-sqlite" questions

Android uses SQLite to store and retrieve data persistently.

Android: How to requery a Cursor to refresh ListView after deleting database row?

This might be a noob question but I'm quite new to all this SQLite-Database-Cursor-Adapter-ListView-Do-It-Properly-Stuff. What I have: In my MainActivity …

android listview cursor android-sqlite simplecursoradapter
Android SQLite closed exception

I have no solid background of synchronization. I think this issue will be fixed when I use synchronized method. But …

android android-sqlite
Android SQLite database and app update

I have developed an android app and released version 1.0. The app contains SQLite local database with 5 tables. Now we planned …

android sqlite android-contentprovider android-sqlite
The best way to caching json

My application should work not only in online but also in offline mode. For that reason I am considering find …

android json android-sqlite android-preferences
Android SQLite alternatives

I'm building a simple android RPG. Each player has access to a maximum of about 50 soldiers. Each soldier has some …

android sqlite android-sqlite database-performance
Android: column '_id' does not exist

I am getting this error IllegalArgumentException: column '_id' does not exist When using a SimpleCursorAdapter to retrieve from my …

android sqlite android-sqlite android-cursoradapter
Get the ID of a new record inserted into a database from the returned Uri

When you insert a new item into a database like this Uri uri = getContentResolver().insert(Tournaments.CONTENT_URI, values); is …

android android-sqlite
One-to-many relation in Room

I've been using SugarDB for most of my projects in the past. It was easy to use and satisfied most …

android android-sqlite android-room
Cursor window allocation of 2048 kb failed. # Open Cursors=1 (# cursors opened by this proc=1)

I'm making an Kiosk app that use database. The app is running all time in foreground. The app have many …

android database android-sqlite android-4.4-kitkat android-cursor
How to specify the sort order for the query to a content provider

I am trying to load all items from a Sqlite Table in Android and want to order the result. How …

android android-sqlite android-contentprovider android-cursorloader