3
可能重复:
How to open phones gallery through code如何在Android的默认图库打开图像
我已经输出在应用的过程中的图像。我可以调用默认的Android图库来显示图像,而不是使用ImageView查看图像。 非常感谢!
可能重复:
How to open phones gallery through code如何在Android的默认图库打开图像
我已经输出在应用的过程中的图像。我可以调用默认的Android图库来显示图像,而不是使用ImageView查看图像。 非常感谢!
尝试一下本作露天走廊
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);//
startActivityForResult(Intent.createChooser(intent, "Select Picture"),10);
你应该能够显示使用此代码库中的图像..
Intent intentquick = new Intent(Intent.ACTION_VIEW);
intentquick.setDataAndType(<full path to image to be displayed>,"image/*");
intentquick.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intentquick);
我想使用默认的图像浏览器在Android系统。由于我希望使用Viewer的某些功能。可以跳过进入画廊并进入默认的图像查看器 – newstartgirls