title: Multiple Images select from gallery
body: <p>In my application I want to select multiple images from gallery and need to upload those images on server.I my code now only single image is selected below is my code please give me solution :-</p>
  
  <pre><code>fab.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
  
  
                  Intent intent = new Intent();
  // Show only images, no videos or anything else
                  intent.setType("image/*");
                  intent.setAction(Intent.ACTION_GET_CONTENT);
  // Always show the chooser (if there are multiple options available)
                  startActivityForResult(Intent.createChooser(intent, "Select Picture"), PICK_IMAGE_REQUEST);
  
              }
          });
      @Override
      protected void onActivityResult(int requestCode, int resultCode, Intent data) {
          super.onActivityResult(requestCode, resultCode, data);
  
          if (requestCode == PICK_IMAGE_REQUEST &amp;&amp; resultCode == RESULT_OK &amp;&amp; data != null &amp;&amp; data.getData() != null) {
  
              Uri uri = data.getData();
  
              try {
                  Bitmap bitmap = MediaStore.Images.Media.getBitmap(getContentResolver(), uri);
                  // Log.d(TAG, String.valueOf(bitmap));
  
  //                ImageView imageView = (ImageView) findViewById(R.id.imageView);
  //                imageView.setImageBitmap(bitmap);
              } catch (IOException e) {
                  e.printStackTrace();
              }
          }
      }
  </code></pre>