【发布时间】:2013-03-25 10:47:43
【问题描述】:
我尝试使用带有 android 4.2.2 的 Galaxy nexus 发送电子邮件,但我错过了选择器中的 googlemail 应用程序。其他所有应用程序都可用。 Nexus 7 上的同样问题。
我阅读了一些关于错误的信息,googlemail 应用程序无法处理附件,但我将代码减少到最低限度,而 gmail 应用程序仍然丢失。
Intent mailer = new Intent(Intent.ACTION_SEND);
mailer.setType("text/plain");
startActivity(Intent.createChooser(mailer, "pls show gmail"));
也尝试使用“message/rfc822”作为类型,但同样的问题:没有可用的 gmail 应用程序。
在 android 4.0.x 和具有 cyanogen mod 和 android 4.2.2 的设备上尝试了相同的代码,一切正常。
谁能帮助我?有什么解决办法吗?
【问题讨论】:
-
刚刚注意到:如果我尝试分享图片或网址,gmail 应用程序仍然丢失。提交的错误报告:code.google.com/p/android/issues/detail?id=53599
-
@AlexFlorescu 感谢您的链接,但它对我不起作用。 :-(
标签: android android-intent gmail