android 调用系统图库查看指定路径的图片

//使用Intent
Intent intent = new Intent(Intent.ACTION_VIEW);
//Uri mUri = Uri.parse("file://" + picFile.getPath());Android3.0以后最好不要通过该方法,存在一些小Bug
intent.setDataAndType(Uri.fromFile(picFile), "image/*");
startActivity(intent);

posted on 2015-03-30 14:30  %幻#影%  阅读(1697)  评论(0编辑  收藏  举报

导航