-
Notifications
You must be signed in to change notification settings - Fork 4
Email Intent
Roman Tcaregorodtcev edited this page Mar 22, 2018
·
2 revisions
Activity Action: Send a message to someone specified by the data.
OmegaIntentBuilder.from(this)
.email()
.text("Hello world")
.emailTo("[email protected]")
.subject("Great library")
.createIntentHandler()
.failCallback(new FailCallback() {
@Override
public void onActivityStartError(@NotNull Exception exc) {
Toast.makeText(getApplicationContext(), "Sorry, you don't have app for sending email", Toast.LENGTH_SHORT).show();
}
})
.startActivity();