Tuesday 6 January 2015

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);

No comments:

Post a Comment