Hi Guys,

Im trying to send a bitmap through mms by the following code,

But what i can see is that the messaging client opens up only with the
text and the bitmap not attached.

Can you please guide me as what im doing wrong here?

Intent sendIntentMMS = new Intent(Intent.ACTION_SEND);
sendIntentMMS.putExtra("sms_body", "some text");
sendIntentMMS.putExtra(Intent.EXTRA_STREAM, Images.Media.insertImage
(getContentResolver(),  mBitmap, "title", null));
sendIntentMMS.setType("image/png");
startActivity(sendIntentMMS);

Thanks in advance,
R.Karthik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to