How can I load a sound from the SD Card insted of the raw folder in my Android app useing Soundpool?
I am useing this example to load and play sounds in my Androidapp. I am adding new sounds with mSoundManager.addSound(2, R.raw.sound1);
. How can I load a sound from t开发者_如何学Che SD Card insted of the raw folder in my app?
Have a look at this: http://developer.android.com/reference/android/os/Environment.html#getExternalStorageState()
精彩评论