I want to make an android program to play several sounds from the raw folder.And each sound can be controlled by its own play/pause button and the other thing is, this program can run in background also(as a service) How do i do that please some one help me to do this I already tried this but it is not working.Any help would be appreciated...
Asked
Active
Viewed 1,028 times
0
-
Create multiple media player object and put data source different so that you can play multiple sounds. – Rushabh Patel Jun 25 '13 at 06:42
-
@RushabhPatel I tried multiples MediaPlayer and they does not perform at same time. – Ricardo Nov 18 '13 at 16:14
1 Answers
0
I think it is better to use SoundPool
class to manage multiple sounds at the same time.

Hybrid Developer
- 2,320
- 1
- 34
- 55