I want to save the data in a BLOB field to a binary file but don't know how.
My failed code
My failed code
B4X:
Dim dumpdata As ResultSet = sql1.ExecQuery("SELECT * FROM BINFiles WHERE FileID = '1'")
Do While dumpdata.NextRow
File.WriteString(File.DirApp,"testdump.bin",dumpdata.GetBlob("data"))
Loop
dumpdata.Close