Android 4.2.2 - GMail app not in intent chooser -
i try send email, using galaxy nexus android 4.2.2 , im missing googlemail app in chooser. every other app availible. same problem on nexus 7.
i read bug, googlemail app not work attachments, reduced code minimum , gmail app still missing.
intent mailer = new intent(intent.action_send); mailer.settype("text/plain"); startactivity(intent.createchooser(mailer, "pls show gmail")); also tried "message/rfc822" type, same problem: no gmail app availible.
tried same code on android 4.0.x , device cyanogen mod , android 4.2.2 , , works fine.
can me? there workarounds?
this works on 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);
Comments
Post a Comment