Mediaplayer stream online MP3 file
问题 I have an Android app that streams an MP3 file and plays this file in player, but the problem is mediaPlayer.prepare(); takes a long time buffering and the app freezes so I tried to use prepareAsync(); , but with this function I can't make the player play the next file. It just plays a single file online; if I need to play another file I have to close and restart the activity when play ends. This is my code: public void playMp3(String _link) { mediaPlayer.setOnPreparedListener(new