I am working to change ID3 tags, the metadata in audio files, such as:
And the core point,
Actually, FasteKerinns's code is quite good. You should just change
new MyID3().write(src, dst, src_set, meta);
to
new MyID3().update(src, src_set, meta);
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:
scanner=new MediaScannerConnection(getApplicationContext(),
new MediaScannerConnectionClient() {
public void onScanCompleted(String path, Uri uri) {
scanner.disconnect();
}
public void onMediaScannerConnected() {
scanner.scanFile(path, "audio/*");
}
});
scanner.connect();