title: Error With sharing image
body: <p>I want to share an image using ACTION_SEND. So basically when the users taps on an image and selects "share image" it should send the image selected,
  So when testing, it takes me to which app I want to use to share with i.e whatsapp, Facebook, email etc. And then when selecting either one, it then says "sharing failed, please try again." I can't seem to figure out why it doesn't work. However I have the same code to display image file full screen with ACTION_VIEW and that seems to work great but not with sharing.</p>
  
  <pre><code>public void Onmulti2 (View view) {
  
      Intent share = new Intent(Intent.ACTION_SEND);
  
      share.setType("image/*");
  
      String imagePath = Environment.getExternalStorageDirectory()
              + "/ahmed.jpg";
  
      File imageFileToShare = new File(imagePath);
  
      Uri uri = Uri.fromFile(imageFileToShare);
      share.putExtra(Intent.EXTRA_STREAM, uri);
  
      startActivity(Intent.createChooser(share, "Share Image!"));
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/85f7Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/85f7Q.png" alt="enter image description here"></a></p>