I want to store an image into a SQLite database using B4J and also load it back, let's say the image is in a HTMLeditor1 control. Store an image directly from the clipboard is also an option I would like to cover. Any advice on how it's done?
I zipped up my small source code example for you to play around with post your changes as a zip thanks. You will also get my B4JUtils library as a code module. It makes it very easy to create/access the application folder and subfolders.
btw the loaded byte array should show the image in ImageView2.
Solution in v1.1 Thanks to MarkusR for providing help for the solution. Erel contributed with help as well.
v1.2 contains the new improved code provided by Erel and MarkusR. Check it out
I zipped up my small source code example for you to play around with post your changes as a zip thanks. You will also get my B4JUtils library as a code module. It makes it very easy to create/access the application folder and subfolders.
btw the loaded byte array should show the image in ImageView2.
Solution in v1.1 Thanks to MarkusR for providing help for the solution. Erel contributed with help as well.
v1.2 contains the new improved code provided by Erel and MarkusR. Check it out
Attachments
Last edited: