1
我正在與一個應用程序有一個功能從android內置圖庫/相機中選擇多個圖像。從Android中的圖庫中選擇多個圖像並上傳到PHP中的服務器
使用以下代碼,圖庫已成功打開。
Intent intent = new Intent();
intent.setType("*/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
startActivityForResult(Intent.createChooser(intent,"Select Picture"), SELECT_PICTURE);
但我能夠從庫只選擇一個圖像。所以請建議我如何從內置圖庫中選擇多個圖像並保存到服務器。
http://stackoverflow.com/questions/23426113/how-to-select-multiple-images-from-gallery-in-android –
**非常感謝。** –