来自SD卡的图像并将其放入图像查看器android [英] image from sd card and put it in image viewer android
本文介绍了来自SD卡的图像并将其放入图像查看器android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望android中的java代码能够让用户从他的SD卡中选择一张图像然后在imageViewer中查看
i已经有了选择器代码
Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
photoPickerIntent.setType(image / *);
startActivityForResult(photoPickerIntent,1);
我不知道的是所选图像我无法在图像查看器上查看
解决方案
< blockquote> http:// www .ulduzsoft.com / 2012/07 / android-dialog-to-choose-a-directory-or-file-based-on-alertdialog / [ ^ ]
它可以帮助你............................
i want java code in android that makes the user select an image from his SD card then it is viewed in an imageViewer
i already have the selector code
Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
photoPickerIntent.setType("image/*");
startActivityForResult(photoPickerIntent, 1);
what i dont know is the selected image i cant view it on the image viewer
解决方案
http://www.ulduzsoft.com/2012/07/android-dialog-to-choose-a-directory-or-file-based-on-alertdialog/[^]
It May Help U............................
这篇关于来自SD卡的图像并将其放入图像查看器android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文