Android Question Strange CursorIndexOutOfBoundsException


Active Member
Licensed User
Longtime User
I have a strange problem (only on any smartphone) when i try to get value from resultset when inside result set i keep the blob column.

android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1

at this point
dim value as string = rst.GetString2(0)
or for blob
Dim Buffer() As Byte
Buffer = rst.GetBlob2(0)

If i do my select without blob column...i haven't this problem.
I repeat that this problem show only on some smarthpone (with same app and same version)