Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to select multiple file in android

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

like image 461
K.Muthu Avatar asked Nov 03 '22 22:11

K.Muthu


1 Answers

You can create a custom gallery of your own.More info can be had from here. Android custom image gallery

like image 117
UVM Avatar answered Nov 12 '22 14:11

UVM