When clicking an email address from a browser or contacts app…
Is there any way for my app to show a mail client in the intent list?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As you can see from the Mail application’s source, having your application catch the intent is as simple as adding the
intent-filterto yourAndroidManifest.xmlinside your mail compositionactivitydefinition.You can see that the
<data>tag specifies to handlemailto:links. TheBROWSABLEcategory means it can be launched from the browser.K-9 Mail is similar, except using the
SENDTOaction only with theDEFAULTcategory, and theVIEWaction only with theBROWSABLEcategory.