Created
May 26, 2017 19:26
-
-
Save akbarsha03/34fb77d9553c9e9f0b2002884a0e3edb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent intent = new Intent(Intent.ACTION_SEND); | |
intent.setType("text/plain"); | |
intent.putExtra(Intent.EXTRA_EMAIL, "[email protected]"); | |
intent.putExtra(Intent.EXTRA_SUBJECT, "Subject"); | |
intent.putExtra(Intent.EXTRA_TEXT, "I'm email body."); | |
startActivity(Intent.createChooser(intent, "Send Email")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment