Android 4.2.2-GMail应用程序不在意向选择器中

Android 4.2.2-GMail应用程序不在意向选择器中,android,android-intent,gmail,Android,Android Intent,Gmail,我试着用我的galaxy nexus和安卓4.2.2发送电子邮件,我错过了chooser中的googlemail应用程序。其他所有应用程序都可用。 Nexus7也有同样的问题 我读到了一些关于一个bug的信息,Google Mail应用程序不支持附件,但我将代码减少到了最低限度,gmail应用程序仍然缺失 Intent mailer = new Intent(Intent.ACTION_SEND); mailer.setType("text/plain"); startActivity(Inte

我试着用我的galaxy nexus和安卓4.2.2发送电子邮件,我错过了chooser中的googlemail应用程序。其他所有应用程序都可用。 Nexus7也有同样的问题

我读到了一些关于一个bug的信息,Google Mail应用程序不支持附件,但我将代码减少到了最低限度,gmail应用程序仍然缺失

Intent mailer = new Intent(Intent.ACTION_SEND);
mailer.setType("text/plain");
startActivity(Intent.createChooser(mailer, "pls show gmail"));
也尝试使用“message/rfc822”作为类型,但同样的问题是:没有可用的gmail应用程序

在安卓4.0.x和带有cyanogen mod和安卓4.2.2的设备上尝试了相同的代码,一切正常


有人能帮我吗?有什么解决办法吗?

这对我的Nexus 7有效

Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
String aEmailList[] = { "myname@gmail.com" };
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, aEmailList);
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "my subject");
emailIntent.setType("plain/text");
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, myMessage);
startActivity(emailIntent);

你看了吗?刚刚注意到:如果我尝试共享一张图片或一个url,gmail应用程序仍然丢失。提交的bugreport:@AlexFlorescu感谢您的链接,但它对我不起作用:-(今天有一台nexus 7测试设备,一切正常。遗憾的是,我的galaxy nexus和我的客户提供的nexus设备都没有:-(