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

Reply via email to