I want to store image in SQLite DataBase
.
I tried to store it using BLOB
and String
, in both cases it store the
image and can retrieve it but when i convert it to Bitmap
using
BitmapFactory.decodeByteArray(...)
it return null.
I have used this code, but it returns null
Bitmap bitmap = BitmapFactory.decodeByteArray(blob, 0, blob.length);