Home > Mobile >  Android calls BitmapFactory. DecodeByteArray function returns a null value
Android calls BitmapFactory. DecodeByteArray function returns a null value

Time:01-10




Above, I came to the back-end parsing the json format of data packets, including images of data streams, I from the type String into a byte [] type, in above (1)



After, I in fragments, call a function from the byte [] into a Bitmap, pictured above, (2), but BitmapFactory. DecodeByteArray function returns null value

Could you tell me how to solve this
  • Related