问题
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 the SD Card insted of the raw folder in my app?
回答1:
Have a look at this: http://developer.android.com/reference/android/os/Environment.html#getExternalStorageState()
来源:https://stackoverflow.com/questions/4293122/how-can-i-load-a-sound-from-the-sd-card-insted-of-the-raw-folder-in-my-android-a