I am working to change ID3 tags, the metadata in audio files, such as:
- Artist
- Title
- Album
- etc.
And the core point,. that edited ID3 tags should be shown only into my app.
I am working to change ID3 tags, the metadata in audio files, such as:
And the core point,. that edited ID3 tags should be shown only into my app.
Actually, FasteKerinns's code is quite good. You should just change
to
which means you don't need dst variable at all.
Additionaly, I have this piece of code which refreshes song that is modified in MediaStore:
I think this is what you are looking for MyID3 library to set and get tags for media file.
Download this jar file MyID3_for_android and add it to your project's build path. here is the sample code. here
pathdata
is the file path of the audio file.Happy Coding :)
If you edit the file then anybody will see that. You can create your own database of mediafiles (like Android's database) and just store the modified data there.