louieansonng
Lurker
I'm having problems recreating a bitmap image from a byte array saved in sqllite. any method I use with BitmapFactory.decode always returns null. Log shows that skia failed to decode image or something like that.
Code:
public Bitmap convertToImage(byte[] bytes) {
ByteArrayInputStream imageStream = new ByteArrayInputStream(bytes);
return BitmapFactory.decodeStream(imageStream);
}