Search code examples
androidaudiometadatamediaid3

Setting audio file media metadata in Android (ID3)


I am trying to find out if there is a way to set media metadata (mainly ID3 such as artist, album, song, ...) on an anudio file in Android.

I have noticed that it is possible to retrieve such information using MediaMetadataRetriever but cannot find out a way to set it.

Can you please help? Is it possible?


Solution

  • You could use the DataStorage to get a File-Object from the MP3-File you want to edit and then use a ID3-Tag Library like Jaudiotagger to edit the ID3-Tags.