.
This is my MySQL library of choice and I do not have to install anything on to my clients servers and I don't have to interact with my clients database suppliers if online, I've previously wrote why I prefer this solution.
Anyway, I only ever use Base64 for images and ease of use as far as I'm concerned. I personally use the following library to quicky encode and decode Base64 images, that's my personal preference rightly or wrongly. https://www.b4x.com/android/forum/threads/base64-encode-decode-image-library.31031/
Or you could just change to Erels library but that means rewriting everything which I personally wouldn't do as this library is faster when transfering large amounts of data, I've tested them both
Yes. I downloaded your Base64 encode decode library, tested and is working fine. With that I am able to read and write image data from/to TEXT column of MySQL table. Great Lib.
The problem where I am stuck is that there are other applications written in other programming languages that access this same MySql table data which expects BLOB column and binary data.
Actually I have a stored procedure where I pass the Image Data along with other columns as parameters to the stored procedure. There was no error, but the written image data (BLOB) was corrupted. I was calling oCn.QueryASync(cSql,cTaskID) to call the stored procedure. As this was not working then I went thru this whole thread around 31 pages. Finally I understood that it is not supported in this LIB and found that the alteranative way is to use PreparedStatement. Unfortunately, couldn't go further.
Last edited: