Hello, I want to play a number of sound files in raw directory one after another in android. How to do that? Please anyone provide me an example. Thanks in advance.
+1
A:
Look into MediaPlayer class documentation. You will all information there.
Want more, get the Android Media Player code
the100rabh
2010-09-01 06:41:32
How to play a list of files?I want to make it a variable.eg:mp = MediaPlayer.create(geetaact.this, R.raw.first);//first should change by taking value from /raw folder.
Antony
2010-09-01 06:47:01
use setDataSource function to play another file.
the100rabh
2010-09-01 11:25:56