Android Question access picture using jRDC

Erel

Administrator
Staff member
Licensed User
There are three helper subs in DBRequestManager: FileToBytes (not really needed as you can now use File.ReadBytes), ImageToBytes and BytesToImage.

The image should be stored in a blob field in the database. You should retrieve it and then do something like:
B4X:
Dim bytes() As Byte = Row(1) 'assuming that the image is in the second column.
Dim img As Bitmap = req.BytesToImage(bytes)
 
Top