I am working on a live app. I am allocating a specific points to the user as he/she shares our text via email. But, how can I recognize that user has sent an email??
I am using following code,
Intent email = new Intent(Intent.ACTION_SEND);
email.putExtra(Intent.EXTRA_EMAIL, new String[]{});
email.putExtra(Intent.EXTRA_SUBJECT, "Test");
email.putExtra(Intent.EXTRA_TEXT, "Hey there! Please download the fun app");
email.setType("message/rfc822");
startActivity(Intent.createChooser(email, "Select Email Chooser"));
How can I get the response that user has sent an Email?