デバイスのメールを開いて、アンドロイドの新しいアップデートの電子メールを送信するには、次のコードを使用してtext/message/html/plainをサポートするアプリケーションのリストを表示します。これは、それが働いたあなたの問題を解決することがあり、プログラムでのメールアプリを開くcode.Hopeを次使用するコードを以下の多くの検索後電子メールアプリケーションをプログラムでアンドロイドで新規アップデート
try {
Intent intent = new Intent(Intent.ACTION_SENDTO);
intent.setData(Uri.parse("mailto:")); // only email apps should handle this
intent.putExtra(Intent.EXTRA_EMAIL, new String[]{"example.yahoo.com"});
intent.putExtra(Intent.EXTRA_SUBJECT, "App feedback");
startActivity(intent);
} catch (android.content.ActivityNotFoundException ex) {
ToastUtil.showShortToast(getActivity(), "There are no email client installed on your device.");
}
これは素晴らしい解決策でもあります。 –
よくThxが答えを受け入れます。 – ADM