title: Sharing Bitmap via Android Intent
body: <p>In my android app, I have a bitmap (say b) and a button. Now when I click on the button, I want to share the bitmap. I am making use of the below code inside my <code>onClick()</code> to achieve this :-</p>
  
  <pre><code>Intent intent = new Intent(Intent.ACTION_SEND);
  intent.setType("image/png");
  intent.putExtra(Intent.EXTRA_STREAM, b);
  startActivity(Intent.createChooser(intent , "Share"));
  </code></pre>
  
  <p>I was expecting a list of all application which are able to handle this intent but I get nothing. There is no list of apps nor is there any error in android studio. My application just get hanged for sometime and then quits.</p>
  
  <p>I have checked the bitmap and it is fine (its not null). </p>
  
  <p>Where am I a going wrong ?</p>