I have an array of bytes and I need to convert it into a Android Drawable.
How can I perform this conversion?
I have try this but doesn't works:
fileData
is the byte[]
array
Drawable image = null;
image = new BitmapDrawable(BitmapFactory.decodeByteArray(fileData, 0, fileData.length));