Team Leader Android Developer Question:

How to perform actions that are provided by other application e.g. sending email?

Tweet Share WhatsApp

Answer:

Intents are created to define an action that we want to perform and launches the appropriate activity from another application.

Code

Intent intent = new Intent(Intent.ACTION_SEND);intent.putExtra(Intent.EXTRA_EMAIL, recipientArray);

startActivity(intent);

Download Team Leader Android Developer PDF Read All 67 Team Leader Android Developer Questions
Previous QuestionNext Question
Tell us how do you find any view element into your program?Tell me what is An Intent?