I am attempting to debug an problem myself. May publish it later basically fail -)

My logcat log states "android.database.CursorIndexOutOfBoundsException: Index -1 asked for, having a size 2"

I must use log.v("desc", cursor) to exhibit exactly what the cursor returns. It is possible to method to specify something from this like cursor[] ?

Perhaps you have known as moveToFirst() on Cursor?

Or maybe you are searching for in which the cursor reaches a particular time, call Cursor.getPosition()

Have a look in the Cursor API.

It's frequently very wordy, but it sometimes helps.

If you plan to create items in the cursor towards the logcat row by row you should use code as below:

if (cursor.moveToFirst()) {
    do {
        StringBuilder sb = new StringBuilder();
        int columnsQty = cursor.getColumnCount();
        for (int idx=0; idx<columnsQty; ++idx) {
            sb.append(cursor.getString(idx));
            if (idx < columnsQty - 1)
                sb.append("; ");
        }
        Log.v(TAG, String.format("Row: %d, Values: %s", cursor.getPosition(), sb.toString()));
    while (cursor.moveToNext());
}

When I do not have IDE on the pc I am unable to see if it ever compiles. However I hope it will :)