应用程序映像的默认图像查看器

时间:2013-01-04 09:23:11

标签: android thumbnails android-image

我的问题是我将使用以下链接显示SD卡中的一些图像

http://vikaskanani.wordpress.com/2011/07/20/android-custom-image-gallery-with-checkbox-in-grid-to-select-multiple/

用户将使用以下代码选择将显示所选图像的特定图像

Intent intent = new Intent();
                intent.setAction(Intent.ACTION_VIEW);
                intent.setDataAndType(Uri.parse("file://" + arrPath[id]),
                        "image/*");
                startActivity(intent);

现在,一旦用户滑动,它将转到SD卡中的其他图像,但我想显示来自我的应用程序的图像,意味着我想在默认图像查看器中显示应用程序的图像。当用户选择一个时图像它将显示打开图像的应用程序列表是否有任何方法可以消除此问题并在默认图像查看器中显示图像,并且一旦刷到应用程序中的下一个图像而不是来自SD卡

0 个答案:

没有答案