Use this code.

                Intent intent = new Intent(Intent.ACTION_SENDTO);
                intent.setData(Uri.parse("mailto:t...@gmail.com";));
                intent.putExtra(Intent.EXTRA_SUBJECT, "Subject");
                intent.putExtra(Intent.EXTRA_TEXT, "this is the body of the 
mail");
                intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                startActivity(intent);

Thanks and Regards,
Kumar Bibek

On Mar 11, 5:47 pm, Satish <satishkolaw...@gmail.com> wrote:
> Hello,
>
>                I want is to automatically compose an e-mail with a
> subject line, recipient address and an image attachment, and an e-mail
> app should then pop up with this automatically composed  message, to
> let the user decide whether to send, edit or discard the message.
>
> Thanks

-- 
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