Search code examples
androidmedia-player

Grouping mediaPlayer together


For example I have several mediaPlayer objects for different sounds. How would I group them together and check whether any of them are playing at any one time and stopping them all? Thanks in advance


Solution

  • There is a direct method for that myPlayer.isPlaying()