Hi Satish
Check this working for me:
public void launchEmailActivity(){
final Intent emailIntent = new
Intent(android.content.Intent.ACTION_SEND);
emailIntent .setType("plain/text");
emailIntent .putExtra(android.content.Intent.EXTRA_EMAIL, new
String[]{""});
emailIntent .putExtra(android.content.Intent.EXTRA_SUBJECT,
"Test
Subject");
emailIntent .putExtra(android.content.Intent.EXTRA_TEXT,
"Testing
email text");
this.startActivity(Intent.createChooser(emailIntent, "Send
mail..."));
}
Best Regards,
Gulfam Hassan
On Mar 11, 5:40 pm, Satish <[email protected]> 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 Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en