询问者
MediaPlayer类怎么打开Pack Uri

问题
全部回复
-
你可以看看这个帖子:
http://stackoverflow.com/questions/3728181/how-would-i-use-a-pack-uri-resource-with-media-player
上面说不能MediaPlayer不能打开pack URI,你必须把音频包读取为一个流,然后再把流写入到文件中,然后你再指定这个文件来播放,相当于有一个转化的过程,一般我们直接指定一个文件路径就播放没有问题,所以你需要把音频包读取到一个文件就可以
If my post is helpful,please help to vote as helpful, if my post solve your question, please help to make it as answer. my sample