I'm trying to use the builtin email intent and so far I haven't found enough
information to use it correctly.
When I execute the following code, I get the message "No applications can
perform this action".
This happens on emulator as well as real hardware.
Can anyone tell me what piece is missing?
Thx
private OnSelectionHandler onEmailMenu = new OnSelectionHandler() {
public void handleSelection() {
Intent intent = new Intent(Intent.ACTION_SEND);
Bundle bundle=new Bundle();
bundle.putString(Intent.EXTRA_EMAIL , "[EMAIL PROTECTED]");
bundle.putString(Intent.EXTRA_TEXT , "This is a test");
startActivity(Intent.createChooser(intent, "Send Mail"));
}
};
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---