Saturday 7 May 2016

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