博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年8月18日

摘要: MediaPlayer mPlayer = new MediaPlayer(); try { File file = new File(fileString); FileInputStream fis = new FileInputStream(file); mPlayer.setDataSource(fis.getFD(),0,1000*1024); mPlayer.prep... 阅读全文

posted @ 2010-08-18 18:09 zhangweia 阅读(134) 评论(0) 推荐(0)

摘要: 转自:http://blog.csdn.net/myrainbow/archive/2009/05/10/4166473.aspx(感谢原作者!)java中的io中的(input/output)stream无非就是包括基于字符的stream、基于字节的stream和把字节导向的stream转换字符为导向的stream的stream。(很难理解么?)以字节为导向的stream------InputS... 阅读全文

posted @ 2010-08-18 17:59 zhangweia 阅读(783) 评论(0) 推荐(0)