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));
sendIntentMMS.setType("image/png");
startActivity(sendIntentMMS);

Thanks in advance,
R.Karthik
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. tablelayout rounded corners

Hey,

I want to make something like this:

http://snapplr.com/0g79

So specially the TableLayout (I think they are using that) with
rounded corners!
How can I make that?

Wouter

-- 

2. a little help with soft keyboard / InputMethodService

Good day, my application is an Apple 2 Emulator and I getting
reports from MyTouch 3G users that my softkeyboard implementation
isn outputting proper keystrokes for some of the shift keys.  Right
now everything is captured by doKeyDown via the SurfaceHolder Callback
so this is understandable.

For example:
$ returns 4
% returns 5
& returns 7
 ( returns 9
) returns 0
! returns 1
" returns 2
: returns (nothing at the moment)
? returns /

I get the notion that the soft keyboard isn't just a virtual keyboard
it an IME with much more than just keystrokes but could someone
help me craft some code that would allow me to capture keys using the
InputMethodService?  I can find any sample code, and it a bit
difficult because I don have a text box to bind to the user is
simply looking at my SurfaceView running the emulation.  I would like
to capture the text coming from the soft keyboard and process
accordingly.
Thanks!

-- 

3. Bluetooth headsets and Android.

4. networkInfo.getSubtype() for 3G on Verizon/DROID

5. getPsc() - NeighboringCellInfo - SDK 2.0

6. Got 12 Google Wave invitations to use, let me know if you need

7. Got 12 Google Wave invitations to use, let me know if you need