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

Posted by  Mayank Tripathi
 2204  View(s)
Ratings:
Rate this:
  1. How can your application perform actions that are provided by other application e.g. sending email?

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

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

      Modified On Mar-28-2018 03:53:24 AM

Answer