After the upgrade, you no longer have any mail clients that support message/rfc822, apparently.
On Mon, Mar 12, 2012 at 5:01 PM, JFS <j...@sheagermain.com> wrote: > The following code previously worked on an Atrix 2 4G. After > upgrading to 2.3.6, createchooser no longer presents any mail choices > and the e-mail is not sent. > > Logcat contains no errors. Any ideas why this is not providing Send > choices as it previously did? > > final Intent emailIntent = new > Intent(android.content.Intent.ACTION_SEND); > emailIntent.setType("message/rfc822"); > > emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new > String[]{"a...@bb.com"}); > emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, > "ANDROID Entry"); > emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, > mailbuilder.toString()); > emailIntent.putExtra(android.content.Intent.EXTRA_CC,new > String[] > {"f...@bb.com"}); > > try{ > startActivity(Intent.createChooser(emailIntent, "Send mail > from. . . > ")); > } > catch(Exception echoice){ > Log.e("CHOOSER PROBLEM", echoice.toString()); > } > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en