Closed JShaoLee closed 2 years ago
How to display pictures in metadata on android,Android imageview does not support direct display of this data below code right?
`
for (Metadata.Image image : track.getAlbum().getCoverList()) { if (image.hasFileId() && image.hasSize()) { byte[] imageBytes = image.toByteArray(); imageView.setImageBitmap(BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length)); break; } }
Solved
How to display pictures in metadata on android,Android imageview does not support direct display of this data below code right?
`
`