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 Intent ACTION_SEND with 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 -~----------~----~----~----~------~----~------~--~---

