title: How to attach a Bitmap when launching ACTION_SEND intent
body: <p>I have this code:</p>
  
  <pre><code> Intent intent = new Intent(); 
   intent.setAction(Intent.ACTION_SEND); 
   startActivity(intent); 
  </code></pre>
  
  <p>Which will successfully launch a Messaging App on Android. </p>
  
  <p>But how can I attach a Bitmap object when launching the intent? </p>
  
  <p>I have read <a href="http://developer.android.com/reference/Android/content/Intent.html">http://developer.android.com/reference/Android/content/Intent.html</a>, 
  the closet thing to what I need is EXTRA_STREAM, like this:</p>
  
  <blockquote>
    <p>intent2.putExtra(Intent.EXTRA_STREAM, _uri); </p>
  </blockquote>
  
  <p>But my case, I have a reference of Bitmap object, not an URI of a Bitmap. </p>
  
  <p>Please tell me what to do to attach a Bitmap object?</p>