开发者

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()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜