Android Question Strange CursorIndexOutOfBoundsException

uniplan

Active Member
Licensed 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)
 

Erel

Administrator
Staff member
Licensed User
Please use [code]code here...[/code] tags when posting code.

Make sure that the blobs sizes are less than 1mb. This is an Android limit.
 
Top