I am making a music player and I have a list with all the music. When you click on one it opens a new activity and plays the song, but if I go back to the list and choose another song it doesnt stop the first. How do I make it stop the music or close the first activity when I play a new song?
I have tried setting the launchMode to "singleTask" but that didnt work ..