I have found two threads on the same topic with no solution that I can use, I am looking to click on an email address and automatically open an email app and send email, my code seems fine to me but I get the "No apps can perform this action"
This is the method I am using;
textView_emailid.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(
textView_emailid.toString(), "your@email.com", null));
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_SUBJECT, "Book an Appointment");
intent.putExtra(Intent.EXTRA_TEXT, "Hi " + name);
startActivity(Intent.createChooser(intent, "Send Email"));
}
});