android中音频播放的两种方法

方法1.通过MediaPlayer播放,可播放本地,网络音频,适合播放单个文件

方法2.通过SoundPool,适合播放多个文件

详见:http://www.cnblogs.com/xiaoQLu/archive/2011/04/24/2026520.html

u3coding
A software developer

Leave a Comment

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.