Let me explain clearly:
- I have folder named “Sounds” and there are some .ogg files to play.
- I got the folder path using
Environment.getExternalStorageDirectory().getAbsolutePath() + mySoundsPath;. - I got all list from that folder and save it to array:
List<String> soundList;
My question is:
- How to call the sound from
soundListthat i created so they all can be played?? - Should it need to decoded(like images, decoded to Bitmap)??
Sorry for my grammar.
Thanks in advance.
Use the below link for the reference
http://developer.android.com/reference/android/media/MediaPlayer.html
and you can try small code sample as well
http://davanum.wordpress.com/2007/12/29/android-videomusic-player-sample-from-local-disk-as-well-as-remote-urls/