Skip to content Skip to sidebar Skip to footer

Displaying Album Art For Music Using Picasso

Hello I need to display album art for music files efficiently using Picasso. I already configured picasso in my app. But I am not able to display album art from internal storage fo

Solution 1:

Give Picasso absolute path to your image like this:

String name = "image.jpeg";
String dir = Environment.getExternalStorageDirectory().getAbsolutePath();
Picasso.with(context).load(new File(dir + File.separator + name)).into(iv);

or you can use filechooser so you can select which image to load or show list of images and onclick loads an image for you ....

Post a Comment for "Displaying Album Art For Music Using Picasso"