Ok, spend amount of time searching, but couldn't get answered.
Codes to read data from sql:
Codes to read data from sql:
B4X:
Dim Buffer() As Byte 'declare an empty byte array
Buffer = cur.GetBlob("Img")
Dim InputStm As InputStream
InputStm.InitializeFromBytesArray(Buffer, 0, Buffer.Length)
Dim Bmp As Bitmap
Bmp.Initialize2(InputStm)
InputStm.Close
'tag to display img:
<img src=Bmp style="width:120px;height:120px;">