0

Android 怎样显示Base64 编码后的图片

joy created at5 years ago view count: 2718
report
回复
0
byte[] decodedString = Base64.decode(strBase64, Base64.DEFAULT);
Bitmap decodedByte = BitmapFactory.decodeByteArray(decodedString, 0, decodedString.length); 
image.setImageBitmap(decodedByte);
5 years ago 回复

Recent search keywords