Top "Android-cursor" questions

android-cursor is an interface which provides random read-write access to the result set returned by a database query.

How can I create a list Array with the cursor data in Android

How can I create a list Array (the list display First Alphabet when scroll) with the cursor data?

android arraylist android-sqlite android-cursor
Using String[] selectionArgs in SQLiteDatabase.query()

How do I use the String[] selectionArgs in SQLiteDatabase.query()? I wish I could just set it to null, as …

android android-sqlite android-cursor
Android SQLite: attempt to re-open an already-closed object

I'm trying to get certain book data from my Inventory table based on the ISBN. However, I'm getting an error: "…

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

I am developing an application which download some files and save their text in file_content field to database. The …

android sqlite android-cursor
How to disable cursor positioning and text selection in an EditText? (Android)

I'm searching for a way to prevent the user from moving the cursor position anywhere. The cursor should always stay …

android android-edittext textselection android-cursor
Putting cursor data into an array

Being new in Android, I am having trouble dealing with the following: public String[] getContacts(){ Cursor cursor = getReadableDatabase().rawQuery("SELECT …

android android-sqlite android-cursor
Getting Strings from A Cursor in Android?

My cose is SIMPLE. I have a SQLite-Database with three columns: rowid title => text content => text This is …

android sqlite android-cursor
Is it OK to have one instance of SQLiteOpenHelper shared by all Activities in an Android application?

Would it be OK to have a single instance of SQLiteOpenHelper as a member of a subclassed Application, and have …

java android sqlite android-cursor android-loadermanager
How to properly close a cursor in android

I have this database using sqlite, and I'm having problem with closing the cursor its saying that Application did not …

android android-sqlite android-cursor
Android database - Cannot perform this operation because the connection pool has been closed

I have strange problem with android database and cursors. Time to time (very rarely) happens, that I got crash report …

android database android-cursor