If you are using an emulator, you’ll need to configure the email client. Once you have completed this task, you have a place to drop in the code to launch the mail client. Will this occur when a Button control is pressed? Do you want to fill in the details of the email, or simply allow the user to do so? Implement the necessary Button or menu control, including any click handling. Once you have a project set up and the application running, decide under what circumstances you want to launch an email application and send an email. Implement your Android application as normal. You will achieve this by creating and configuring the appropriate Intent within an application’s Activity.īegin by creating an Android project. This quick tip shows you how to launch the built-in Mail application, supply it with data, and allow the user to send an email message.
0 Comments
Leave a Reply. |