S sight Member Licensed User Longtime User Feb 9, 2017 #1 How to save an image in a blob field in mysql? Please exemplify in B4A.
eps Expert Licensed User Longtime User Feb 9, 2017 #2 This? https://www.b4x.com/android/forum/threads/connect-android-to-mysql-database-tutorial.8339/page-5 Upvote 0
This? https://www.b4x.com/android/forum/threads/connect-android-to-mysql-database-tutorial.8339/page-5
KMatle Expert Licensed User Longtime User Feb 10, 2017 #3 Image -> bytes -> Base64 > longtext (or medium). I prefer this because it's easy to handle and you can add encryption, etc. very easy. You will need that "something2bytes" conversation very often like if you want to store an imagebto a file. Search for "bytes to file" for an example. Upvote 0
Image -> bytes -> Base64 > longtext (or medium). I prefer this because it's easy to handle and you can add encryption, etc. very easy. You will need that "something2bytes" conversation very often like if you want to store an imagebto a file. Search for "bytes to file" for an example.