Please accept YouTube cookies to play this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.

 

Show the video description

In this video we will learn, how to send an email from our app via ACTION_SEND intent. The user can type in multiple recipients divided by commas, a subject and a message. When he clicks the “send” button, he will be prompted with an app chooser popup, where he can then choose an email client installed on his phone. The recipients, subject and message from our app will then automatically be inserted into the email client so the user only has to click send.

activity_main.xmlMainActivity.java: