MarcioCC Member Licensed User Longtime User Jan 13, 2016 #1 good night someone has an example or can help me how to insert an image in SqlLite database, to developing an app that has a field image to save the picture of the product as I do that ??
good night someone has an example or can help me how to insert an image in SqlLite database, to developing an app that has a field image to save the picture of the product as I do that ??
lemonisdead Well-Known Member Licensed User Longtime User Jan 13, 2016 #2 Hello, To save an image, you will have to use a blob. Perhaps that link ? https://www.b4x.com/android/forum/threads/read-and-write-blob-text-field-sqlite.55769/#post-351274 And Erel provided us a module to ease the use : https://www.b4x.com/android/forum/threads/dbutils-android-databases-are-now-simple.8475/ Upvote 0
Hello, To save an image, you will have to use a blob. Perhaps that link ? https://www.b4x.com/android/forum/threads/read-and-write-blob-text-field-sqlite.55769/#post-351274 And Erel provided us a module to ease the use : https://www.b4x.com/android/forum/threads/dbutils-android-databases-are-now-simple.8475/
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2016 #3 Check this tutorial: SQL tutorial Upvote 0