我有这个代码:
File mp3 = new File(song.getPath());
AudioFile f = AudioFileIO.read(mp3);
Tag tag = f.getTag();
tag.setField(FieldKey.TITLE,songTitle.getText().toString());
tag.setField(FieldKey.ALBUM,albumTitle.getText().toString());
tag.setField(FieldKey.ARTIST,artistTitle.getText().toString());
AudioFileIO.write(f);
只有重启设备后更改才会生效。你知道如何解决它吗?