我得到沒有錯誤,但郵件將不會顯示!它保持爲空發送郵件:Intent.EXTRA_EMAIL不起作用
public void Send_Mail(View view) {
String txt_context = "My comment about the App : \n The App is good but does not support v3";
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setData(Uri.parse("mailto:"));
intent.setType("message/rfc822"); //
intent.putExtra(Intent.EXTRA_EMAIL,"[email protected]"); // **this will not displayed** """
intent.putExtra(Intent.EXTRA_SUBJECT,"Comment about the APP");
intent.putExtra(Intent.EXTRA_TEXT,txt_context);
startActivity(intent);
你的代碼的工作,但有我的代碼不小的修改,這將沒有大的變化的工作? – Testiest