I'm getting the same problem.  Works fine on my device.

On Sep 1, 9:39 am, JKrapp <[email protected]> wrote:
> Hi,
>  thanks for the reply :)
> But it's not clear to me why the emulator 1.1, with a running email
> and text messages clients (the default ones) , doesn't handle the
> intentACTION_SEND, while the Emulator 1.5 does it, with the same
> clients.
> Does it mean that smathphones with Android platform API level 2 don't
> handle the intentACTION_SENDby default..? I' am just testing the
> application on the software emulator...
>
> Best Regards
>
> On 1 Set, 02:21, Dianne Hackborn <[email protected]> wrote:
>
>
>
> > It's just a matter of what applications are installed in the image that
> > handle the intent.  If there is nothing that handles it, well then there is
> > nothing that handles it.
>
> > On Mon, Aug 31, 2009 at 5:00 PM, JKrapp <[email protected]> wrote:
>
> > > Hello,
> > > I developed an application using Android SDK 1.5_r2, with API level 2
> > > (1.1).
> > > When I use the IntentACTION_SENDwith an emulator target API level 3
> > > (1.5) I have no problems, and I can choose to send the message between
> > > email or SMS. On the contrary with an emulator target API level 2
> > > (1.1) I got the message "No application can perform this action". I
> > > configured and tested in both targets the same email account.
> > >  Any ideas?!
>
> > > Thanks!!
>
> > > Here is the snippet of code:
>
> > > Intent sendIntent = new Intent(Intent.ACTION_SEND);
> > >                        sendIntent.putExtra(Intent.EXTRA_TEXT, "my
> > > message");
> > >                        sendIntent.setType("text/plain");
> > >                        try {
>
> > >  startActivity(Intent.createChooser(sendIntent,"Title"));
> > >                        } catch (android.content.ActivityNotFoundException
> > > ex) {
> > >                                showDialog(ALERT_MSG_SENT_ERROR);
> > >                        }
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see and
> > answer them.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to