Loading Album Art Image is getting wrong image

Following lots of the online examples on how to load a music album art, they all recommend the following:

Uri sArtworkUri = Uri.parse("content://media/external/audio/albumart");

Uri albumArtUri = ContentUris.withAppendedId(sArtworkUri, albumId);

This is working 99% of the times. However, I got two users saying the the image being loaded is not the album image but an image coming from their photo gallery!

Could it be a device or an OS issue? (The user is using Galaxy S7)

Or is there a better way for getting the album image?


Read More »

By: StackOverFlow - 7 days ago

Related Posts