选择Android的画廊多张图片 [英] select multiple images in Android Gallery

查看:164
本文介绍了选择Android的画廊多张图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即时与一个应用程序,它有一个功能选择多个图片来自安卓内置图库/相机工作。

i m working with one application that have one functionality to select multiple images from android inbuilt Gallery/Camera .

画廊开放成功地使用下面code。

Gallery is open successfully using below code.

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

但我能够从库中选择只有一个映像。所以,请建议我如何从内置的画廊选择多张图像。

but i am able to select only One image from Gallery. so please suggest me how to select multiple images from inbuilt gallery .

在此先感谢!

推荐答案

我有指这两个连接<一href="http://stackoverflow.com/questions/4746661/select-multiple-images-from-photo-gallery-on-android-using-intents">link 1

<一个href="http://stackoverflow.com/questions/4746661/select-multiple-images-from-photo-gallery-on-android-using-intents">1: 选择多张图像使用GalleryView 和<一href="http://stackoverflow.com/questions/4746661/select-multiple-images-from-photo-gallery-on-android-using-intents">link 2

,但没有得到答案的其中即时寻找..但我已经找到替代解决方案。获取所有图像从内置的画廊,并将其所有的自定义Gellery ..好心看看这个链接<一个href="http://vikaskanani.word$p$pss.com/2011/07/20/android-custom-image-gallery-with-checkbox-in-grid-to-select-multiple/#comment-836">Custom使用复选框库

but not getting Ans for which i m looking for .. but i have found alternative solution . Get all images from inbuilt Gallery and set it all our custom Gellery .. kindly check out this link Custom Gallery with checkbox

我希望它会帮助你。

这篇关于选择Android的画廊多张图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆