可能重复:
How to open phones gallery through code
我在我的应用程序中输出了一个图像。我可以调用默认的android库来显示图像,而不是使用image view来查看图像吗?
非常感谢你!

最佳答案

试试这个打开图库

Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);//
startActivityForResult(Intent.createChooser(intent, "Select Picture"),10);

08-18 20:05
查看更多