weird, that did fix it (thanks) in that it brings up  the activity,
but it still throws the exception.  very strange...

thanks again for your help...

On Sep 17, 10:36 am, Kostya Vasilyev <kmans...@gmail.com> wrote:
>   I'm thinking that the component name here is redundant and in fact
> harmful.
>
> Try taking it out, see if this helps - in case the component name may
> have changed. An added benefit should be picking up any third-party
> applications.
>
> -- Kostya
>
> 17.09.2010 21:27, sdphil пишет:
>
>
>
> > 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.
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
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