For feedback, when you click on a button, you want only mail to be called, and a long list of different programs is called. Maybe I did not put the filter?

Intent shareIntent = new Intent(Intent.ACTION_SEND); shareIntent.setType(HTTP.PLAIN_TEXT_TYPE); shareIntent.setType("text/plain"); shareIntent.putExtra(Intent.EXTRA_EMAIL, new String[] { "trinka.online@gmail.com" }); shareIntent.putExtra(Intent.EXTRA_SUBJECT, "Вопрос:"); shareIntent.putExtra(Intent.EXTRA_TEXT, "текст вопроса"); startActivity(shareIntent); 
  • Do you want mail to open right away? - Rasul
  • Yeah, that would be nice . - Ruslan Chepizhko

1 answer 1

You are using the wrong Action. It should be so

 Intent intentEmail = new Intent(Intent.ACTION_SENDTO, Uri.parse("mailto:" + emailAddress)); 
  • Everything works) Thank you so much! - Ruslan Chepizhko