title: Getting couldn't send attachment error while attaching images with Gmail app
body: <p>I have a file path of images which was taken from the Gallery and I am adding each file path in to ArrayList. Everything works fine and even I could see the attachments in Gmail. But once if I try to send the images. I am getting couldn't send attachments error. Please help me to resolve this issue. I am completely stuck up with the solutions. Thanks in advance.</p>
  
  <p>The path of a image is something like <code>/storage/emulated/0/myfolder/1433917106851_fact_2.jpg</code></p>
  
  <pre><code>                Intent intent = new Intent();
                  intent.setAction(Intent.ACTION_SEND_MULTIPLE);
                  intent.putExtra(Intent.EXTRA_SUBJECT, "Here are some files.");
                  intent.setType("image/jpeg"); /* This example is sharing jpeg images. */
                  intent.putParcelableArrayListExtra (Intent.EXTRA_STREAM, mShareImages);  //&lt;=== This is the arraylist of images path. 
                  startActivity(intent);
  </code></pre>
  
  <p>Note: mShareImages is a <code>ArrayList&lt;Uri&gt;</code>. I am converting <code>ArrayList&lt;String&gt;</code> to <code>ArrayList&lt;Uri&gt;</code> by using</p>
  
  <pre><code>Uri uri = Uri.Parse(string);
  </code></pre>
  
  <p>Finally adding this uri object into ArrayList by </p>
  
  <pre><code>mShareImages.add(uri);
  </code></pre>