Android tutorial - Android Intent | Android Send Email Intent - android app development - android studio - android development tutorial
- Email is messages distributed by electronic means from one system user to one or more recipients via a network.
- To send an email from your application, you don’t have to implement an email client ,
- the beginning, but you can use an existing one like the default Email app provided from Android, Gmail, Outlook, K-9 Mail etc.
- Sending mail is one key feature in android and an easy one as well.
- We can easily send email in android via intent. You need to write few lines of code only as given below
Example of phone call in android
- Drag the 2 EditTexts, 1 MultiLine EditText, 3 TextViews and 1 Button from the pallete, now the activity_main.xml file will like this:
- File: activity_main.xml
- Let's write the code to send email via intent.
- File: MainActivity.java