How to select multiple files in android

I use the following code to select a file, but I can only select one file. How to select more than 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

+4
source share
1 answer

You can create your own gallery. More information is available here. Android Custom Image Gallery

+1
source

All Articles