Hi,
I am able to extract image from the Sqlite Database using
But how to save this image in the internal folder so that i can use it later. Kindly let me know.
Regards,
SK
I am able to extract image from the Sqlite Database using
B4X:
Dim curResult As Cursor = dbSQL.ExecQuery("select Image from Basho where " & Location)
curResult.Position = 0
If curResult.RowCount > 0 Then
Dim binImage() As Byte, Flux As InputStream
binImage = curResult.GetBlob("Image")
Flux.InitializeFromBytesArray(binImage, 0, binImage.Length)
Bmp.Initialize2(Flux)
Flux.Close
End If
curResult.Close
Return Bmp
But how to save this image in the internal folder so that i can use it later. Kindly let me know.
Regards,
SK