我正在與一個具有一種功能的應用程序一起使用,以從android內置Gallery/Camera
中選擇多個圖像。在Android圖庫中選擇多個圖像
使用以下代碼,圖庫已成功打開。
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent,"Select Picture"), SELECT_PICTURE);
但我只能從圖庫中選擇一個圖像。所以請建議我如何從內置圖庫中選擇多個圖像。
在此先感謝!
你有沒有注意到你的問題至少有2個重複在stackoverflow? (http://stackoverflow.com/questions/3058922/select-multiple-images-using-galleryview) (http://stackoverflow.com/questions/4746661/select-multiple-images-from-photo-gallery- on-android-using-intents) – 2012-02-21 14:52:34