I have an EditText, and a Button. The ET is for adding an email address, and the button is for sending the email. I'm trying to accomplish this without any more steps (aka don't want a chooser). Can someone point me in the right direction please, it seems like such a simple thing to do, but every time I try to do this without a chooser, I get an exception.
Intent i = new Intent(Intent.ACTION_SEND);
i.setType("message/rfc822");
i.putExtra(Intent.EXTRA_EMAIL , new String[]{"user@email.com"});
i.putExtra(Intent.EXTRA_SUBJECT, "Subject");
i.putExtra(Intent.EXTRA_TEXT, "some text");
try {
startActivity(i);
} catch (android.content.ActivityNotFoundException ex) {
Toast.makeText(FinalAction.this, "There are no email clients installed.", Toast.LENGTH_SHORT).show();
}