0
我想只有使用默认图库应用程序在我的应用程序中打开图像。我在页面上看过其他人的回答,但我没有运气。只使用defaul画廊应用程序显示我的图像
以下代码工作,但它显示图像选择器。我只想使用图库应用程序来显示它。
Intent i = new Intent();
i.setAction(Intent.ACTION_VIEW);
i.setDataAndType(Uri.parse("file://" + pathToImageFile), "image/*");