Sending a bitmap as a MMS

by karthikr » Sun, 02 Aug 2009 19:51:26 GMT

Sponsored Links
 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));

Thanks in advance,

Other Threads

1. Windows Live Messenger and other services not appearing in the IM Client?


I just recieved the Android Development Phone 1 (The G1). However, the
IM client only shows Gmail and not the others.. Is there a way to get
them, as I would like to see how the IM client handles it

Kind Regards


2. XMPP through Smack

After reading many previous posts about XMPP, I am still not sure if
anyone actually got XMPP to work for the official SDK 1.0.

I had trouble receiving any message.   From the logs, I saw this:

12-27 19:43:14.866: WARN/System.err(225): KeyStore jks implementation not found

This origin is from Smack's PacketReader and I read a post about
installing the "cacerts" fiel as follows:

String javaHome =  System.getProperty("java.home");
StringBuffer buffer = new StringBuffer();

This didn't seem to solve the problem on Windows while it could help
those on Linux.    Can anyone provide any ideas to proceed?



3. ddms error: Cannot connect to adb

4. Animations Persistance

5. HashMap via http tunneling

6. T-Mobile G1: How to properly resume View's focus when Activity resumed from screen black-out?

7. Implementing Parcelable with Eclipse - " is in the way of MyClass.aidl"