摘要:
转自:http://luhuajcdd.iteye.com/blog/1560225和http://www.2cto.com/kf/201201/117389.htmlJava代码 /*** 打开文件* @param file*/private void openFile(File file){ Intent intent = new Intent(); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); //设置intent的Action属性 intent.setAction(Intent.ACTION_VIEW); //获取文件file的MIME 阅读全文
posted @ 2013-05-09 15:55
highfly2012
阅读(1007)
评论(0)
推荐(0)

浙公网安备 33010602011771号