我无法上传多张图片。我从厨房成功获得了图像路径。但我无法在android studio中成功获得图像
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == REQUEST_CODE_PICKER && resultCode == RESULT_OK && data != null) {
images = data.getParcelableArrayListExtra(ImagePickerActivity.INTENT_EXTRA_SELECTED_IMAGES);
StringBuilder sb = new StringBuilder();
for (int i = 0, l = images.size(); i < l; i++) {
sb.append(images.get(i).getPath() + "\n");
// bitmap = BitmapFactory.decodeFile(images);
}
tvtest.setText(sb.toString());
encodedimage=sb.toString();
}
}