When I drop createChooser and replace it with the emailintent (ACTION_SEND), nothing happens immediately. But when the service stops, I am then prompted with the expected set of e-mail accounts and can send the message. So this is on the right track, but it obviously undermines the usefulness of the program, if I have to stop the service whenever I want it to send an e-mail; I am hoping there is another way to force it to send immediately when that intent is executed.
The "share" feature in other apps. says that I do not have a social network account and asks if I want to add one - - so that seems to work. Thanks for your help to date and any further thoughts you might have. On Mar 13, 9:28 am, Mark Murphy <mmur...@commonsware.com> wrote: > Try dropping createChooser(), just invoking your ACTION_SEND Intent, > and see what happens. > > Also, try using other apps that use ACTION_SEND. For example, the > stock Android browser's Share Page will use an ACTION_SEND text/plain > Intent. > > > > > > > > > > On Tue, Mar 13, 2012 at 9:25 AM, JFS <j...@sheagermain.com> wrote: > > Well, I tried "text/plain" as well, with no effect. E-mail accounts > > include gmail and Outlook (they continue to work the same). Any > > additional options? > > > On Mar 13, 7:27 am, Mark Murphy <mmur...@commonsware.com> wrote: > >> 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/commonsguyhttp://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 > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://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