나는 사용하려고 의지내 애플리케이션에서 이메일을 보내지 만 이메일의받는 사람 필드가 채워지지 않습니다. 제목이나 텍스트를 채우는 코드를 추가하면 제대로 작동합니다. To 필드 만 채워지지 않습니다.
또한 유형을 "text / plain"및 "text / html"로 변경하려고 시도했지만 동일한 문제가 발생합니다. 누구든지 제발 도와 줄 수 있습니까?
public void Email(){
Intent emailIntent = new Intent(Intent.ACTION_SEND);
emailIntent.setType("message/rfc822"); //set the email recipient
String recipient = getString(R.string.IntegralEmailAddress);
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL , recipient);
//let the user choose what email client to use
startActivity(Intent.createChooser(emailIntent, "Send mail using...")); }
사용하려는 이메일 클라이언트는 Gmail입니다.