【发布时间】:2013-10-20 04:55:23
【问题描述】:
我想通过手机的默认 imageview 应用程序(图库等)打开可绘制文件夹中的图像。
我的图片位置:drawable/image.png
代码:
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(""), "image/*");
startActivity(intent);
我需要在 Uri.parse 函数中写什么才能看到图像文件?
【问题讨论】:
标签: android android-intent imageview