Display images from sqlite in android

I am an Android app developer. I am currently developing an application that requires me to display an image stored in sqlite database, can someone help me get the image from sqlite database and display it ... Thanks ..

+2
source share
1 answer

I would start with:

db.rawQuery('SELECT imageBlob FROM Images WHERE imageID=?', new String[] {imageID}); 

Then save the result to a file (for this bit I don’t know for sure, new to Android and that's it).

0
source

All Articles