<分区>
Possible Duplicate:
How to open phones gallery through code
我已经在我的应用程序中输出了一张图片。我可以调用默认的 Android 的图库来显示图像而不是使用 ImageView 来查看图像吗? 非常感谢!
<分区>
Possible Duplicate:
How to open phones gallery through code
我已经在我的应用程序中输出了一张图片。我可以调用默认的 Android 的图库来显示图像而不是使用 ImageView 来查看图像吗? 非常感谢!
最佳答案
尝试打开图库
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);//
startActivityForResult(Intent.createChooser(intent, "Select Picture"),10);
关于android - 如何打开Android默认图库中的图片,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7514457/
相关文章:
android - CollapsingToolbarLayout - 展开时隐藏 ImageView,折叠时显示
java - 无法通过 bundle 使用 putparcelablearraylist 将对象的 Arraylist 发送到 fragment ?
image-processing - OpenCL 中本地内存的优势是什么?
android - startActivityForResult 使用 ArrayAdapter 将数据传递到 "toActivityResult"
javascript - 如何将div的图像保存到移动设备的图库中?
android - 如何仅从 Google Photos 应用程序中选择图像? Android 谷歌相册 Intent