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?
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.
From the CLI, you can use id3ed. Just build it using Android's NDK, then you can use adb debug bridge to access the shell.
I think you have to use a third party library
http://jid3.blinkenlights.org/
http://www.jthink.net/jaudiotagger/