I use following code to select file but i can select one file only. How can i select more then one file.
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("image/*");
startActivityForResult(intent, CHOOSE_FILE_RESULT_CODE);
.....
public void onActivityResult(int requestCode, int resultCode, Intent data) {
// User has picked an image.
Uri uri = data.getData();
//File URI..
}
thank u
You can create a custom gallery of your own.More info can be had from here. Android custom image gallery
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With