Re: [android-developers] Re: How to use built in email application to send email from my application
Thanks for your reply Kumar, This code used but that action is not On Thu, Mar 11, 2010 at 6:28 PM, Kumar Bibek coomar@gmail.com wrote: 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Regards $atish Kolawale. +919860767082 -- 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
Re: [android-developers] Re: How to use built in email application to send email from my application
Thanks for your reply Kumar, This code used but error is that action is not currently supported Thanks Satish On Thu, Mar 11, 2010 at 6:28 PM, Kumar Bibek coomar@gmail.com wrote: 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Regards $atish Kolawale. +919860767082 -- 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