Here is my code. I am using WebView for registration purposes. In the registration process I have to upload an image from the device. I have finished the code for this and i
This code below will let you selecting multiple images/files
At onActivityResult include the following code:
if (resultCode == Activity.RESULT_OK) {
if (null != data.getClipData()) {
final int numSelectedFiles = data.getClipData().getItemCount();
results = new Uri[numSelectedFiles];
for (int i = 0; i < data.getClipData().getItemCount(); i++) {
results[i] = data.getClipData().getItemAt(i).getUri();
}
}
}