I have multiple files that I play in my android code using mediaplayer.I want them to play one after another.
Is there a way to append audio that i play using MediaPlayer(or similar)? or Is there a way to execute a code at end of playing a media file?
Thanks in advance.
You have to use MediaPlayer.OnCompletionListener():