Team Leader Android Developer Question:

Download Job Interview Questions and Answers PDF

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

Team Leader Android Developer Interview Question
Team Leader Android Developer Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us how do you find any view element into your program?Tell me what is An Intent?