**
I want to make a music app and I am successful in getting the songs and playing them using SoundLoader from kivy.core.audio I also added them in a OneLineIconList item BUT I can't figure out how to get the album art/banner art, artist name,…
I've been searching for a couple of days on how to get the album art for a song (or a frame capture of a video) from a file path. All I could find is things related to Mediastore like this answer where it requires getting the album ID of the…
I have recorded audio in 3gp format and keep it in sd card.. this is my code and it run sucessfull.. I need to add an image to that audio file so that the added image will be the album cover & when i try to play the recorded audio taken from the sd…
how to detect if an audio file has an album art embedded with the file
This is the link of Music Player code and I want to add this functionality in this code
https://github.com/mahlilytb/Timber-music-player
Too retrieve the album id i use:
String SONG_ALBUMID = MediaStore.Audio.Albums.ALBUM_ID;
But what is the difference between MediaStore.Audio.Albums.ALBUM_ID and MediaStore.Audio.Media.ALBUM_ID
Thanks,
I am getting all the Strings I need from the Audio but I cant seem to get the Album Cover Image. I have tried getting it with MediaStore.Audio.Albums.ALBUM_ART but it does not give me anything. What am I doing wrong?
public class AudioManager…
Whenever I run code it works fine for a song which has no space in it's name
Check this line of code : metaRetriver.setDataSource("/storage/emulated/0/song.mp3"); Here their is a MP3 file with no space (song.mp3)
But whenever I change the song which…
I'm trying to extract Album art from MP3 file But I not able to give proper location of song, which I can give it to SetDataSource method. I tried everything but still it gives me error IllegalArgumentException.
It all happens when this line…
I'm trying to change the album art of an audio file using jaudiotagger but it is not working. There are a lot of question regarding this topic but none of them fulfilled my requirements. Other fields such as artist,audio name, album etc are updated…
Basically i want to change the album art of audio file in android.i am getting all the audio file by the following method:
private void loadAudio() {
ContentResolver contentResolver = myContext.getContentResolver();
Uri uri =…
I want to display album art with song name in a listview with the help of Custom ArrayAdapter.
I have tried the below code, the song name and artist name is displaying perfectly but not the albumArt.I have tried using Bitmap to decode the images but…
public void getSongList() {
//retrieve song info
ContentResolver musicResolver = getContentResolver();
Uri musicUri = android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
Cursor musicCursor = musicResolver.query(musicUri,…
I am using below function to create album and save images in gallery,
Album creates successfully and image also gets saved.
But the album is created under other albums as shown in the images.
How to bring the album to the main list like Facebook and…
I am trying to embed images in mp3 files to make it the album art of the music file and replace the old one. I tried using mp3agic library but it is not working. Any other suggestions would be appreciated.
I am able to add a picture from gallery as album art for audio file using MediaStore.Audio.Albums .The path of the picture is saved in the Mediastore. It is working good within the device. The album art is not working If the audio file is copied…