Ok, spend amount of time searching, but couldn't get answered.
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;">
Basically, want to load image from SQLite stored as blob field, and display the image on the webpage. The image can be up to several hundreds icon size.