so i am trying to send an MMS like this:
Intent mmsIntent = new Intent("android.intent.action.SEND_MSG");
mmsIntent.setComponent(new ComponentName("com.android.mms",
".ui.ComposeMessageActivity"));
mmsIntent.putExtra("sms_body", "body of mms message");
mmsIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(...some image...));
mmsIntent.setType("image/jpeg");
and when I do that, it throws an "ActivityNotFoundException"
However, I am looking at logcat, and when I share an image from the
camera application, it sends this exact same intent. Not sure what
I'm missing here.
Any ideas?
tia.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en