Top "Sqliteopenhelper" questions

SQLiteOpenHelper is a class from the Android SDK which can be used for easier handling of a SQLiteDatabase.

java - java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow

I'm creating an app which uses SQLiteDatabase to store items of a ListView. But, I get an error while populating …

java android sqlite android-sqlite sqliteopenhelper
attempt to reopen an already-closed object: sqlitequery

So essentially I am querying the DB twice. I don't understand where this error is really coming from because I …

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

I'm getting this error when I'm trying to get a readable or writable database. "SQLiteCantOpenDatabaseException: unknown error (code 14) Could not …

android sqlite sqliteopenhelper
Passing Context to SQLiteOpenHelper

First up, I am new to android apps and am not working solo on this. My team mate has taken …

android sqliteopenhelper
why we need to onUpgrade(); method in SQLiteOpenHelper class

I m following this tutorial.http://www.androidhive.info/2011/11/android-sqlite-database-tutorial/ can any body please make me clear this chunk of …

android database sqlite android-sqlite sqliteopenhelper
Using a SQLite database in Libgdx

I'm new in Libgdx and I'm getting trouble on using a database on my game. I searched for a tutorial …

java android libgdx sqliteopenhelper
Confusion: How does SQLiteOpenHelper onUpgrade() behave? And together with import of an old database backup?

let's assume I have a database table test_table with 2 columns and a corresponding create script in the SQLiteOpenHelper: DB_…

android import export sqliteopenhelper
When should I call close() on SQLiteOpenHelper used by ContentProvider

In my android app, I use SQLiteOpenHelper to implements ContentProvider. Query, add, delete operations are all through ContentProvider. But in …

android android-contentprovider sqliteopenhelper
Android AsyncTask and SQLite DB instance

I have a problem and I am not sure how to approach it. An activity in my app has multiple …

android sqlite android-asynctask sqliteopenhelper