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