public Bitmap ByteArrayToBitmap(byte[] byteArray)
{
ByteArrayInputStream arrayInputStream = new ByteArrayInputStream(byteArray);
Bitmap bitmap = BitmapFactory.decodeStream(arrayInputStream);
return bitmap;
}
{
ByteArrayInputStream arrayInputStream = new ByteArrayInputStream(byteArray);
Bitmap bitmap = BitmapFactory.decodeStream(arrayInputStream);
return bitmap;
}
Muchas gracias me funcio a la perfección..!
ReplyDeletewhene i use your code to conver bytearray to bitmap but value of bitmaps null.
ReplyDeleteThanks .