• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Insert and retrieve image from sqlite

Hi android developers.

I'm developing an app with form and an adding an image is included on the form. Upon insertion of image, I managed to convert the image into byte in order to insert it in sqlite as blob. But the value of it changes everytime I fetch it from the table. Also, i observed that i added 2 forms with the same image but their image value is different (is this normal?) then upon fetching it to display, the value that was saved in the table and the value I'm fetching is different. And it changes everytime so no image was shown when display the saved image in a record. Any solution or tricks? Thank youuu in advance! Have a great day!
 
Back
Top Bottom