1

How can i change the image or add an image? I am not talking about changing in the android database because that can be done from content resolver; I am talking about changing the embedded art.

I tried How can I update the album art path using contentResolver? and how to set our image as artwork in a mp3 album in android but they are just changing the values in the database which i don't want I also tried using "MY_ID3_For_Android" But that didn't help either because no functions are provided to change the album art,only functions are to change the other tags.

Community
  • 1
  • 1

2 Answers2

0

You'll need to change the ID3 Tag. I've been using this library:

https://github.com/mpatric/mp3agic

Matt
  • 3,837
  • 26
  • 29
  • I have added an answer ...i was too stupid ...a little bit of looking into the classes helped ..i will accept your answer though,because you tried to help :) –  Jan 22 '14 at 18:44
0

MY_ID3_For_Android helps....

MusicMetadata ab;
                                        ImageData image;
                                        ab.addPicture(image);