[android-developers] Re: How to use built in email application to send email from my application

2010-03-11 Thread Kumar Bibek
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 mai

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread blindfold
Same with me. Basically all 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. My purpose i

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread Peli
http://www.openintents.org/en/node/121 Peli www.openintents.org On Dec 12, 7:43 am, dilu wrote: > Hi > I wanna to send email from my application .I want to use built in > email application to send  mail from my application.So, can any one > provide me some sample code or link for sending email

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread dileep singh
But i think there are very few link available on sending email .I think a lot of guys r facing this problem.But we are not able to find the correct solution for this.I f anyone know then please post it here Thanks. On Fri, Dec 12, 2008 at 4:21 PM, blindfold wrote: > > Same with me. Basically all

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread Mark Murphy
dilu wrote: > I wanna to send email from my application .I want to use built in > email application to send mail from my application.So, can any one > provide me some sample code or link for sending email using built in > email application?Any advice on this topic is most welcome. > Please reply

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread dileep singh
Thanks peli Do u have some sample code?tht will of great help for me. I am complete fresher. Waiting for ur reply Thanks DILU On Fri, Dec 12, 2008 at 3:56 PM, Peli wrote: > > http://www.openintents.org/en/node/121 > > Peli > www.openintents.org > > On Dec 12, 7:43 am, dilu wrote: > > Hi > > I

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread Peli
> Do u have some sample code? Use the scroll-bar of your browser! >From that link: http://www.openintents.org/en/node/121 I copy and paste it here: Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, "email text"); sendIntent.putExtra(Intent.EXTRA_SUBJECT,

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread blindfold
I'd love to see that one extra line in your example that shows how to add an image file attachment with the image file stored on the SD card. :-) On Dec 12, 3:42 pm, Peli wrote: > From that link:http://www.openintents.org/en/node/121I copy and > paste it here: > > Intent sendIntent = new Intent(

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread Peli
Use the source, Luke! OI File Manager ( http://www.openintents.org/en/node/159 ) can do this, so there is a good chance that you will find enlightment there :-) http://code.google.com/p/openintents/source/browse/trunk/FileManager/src/org/openintents/filemanager/FileManagerActivity.java It is ac

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-12 Thread Peli
> I'd love to see that one extra line in your example that shows how to > add an image file attachment with the image file stored on the SD > card. :-) Oh, sorry, you said image. sendIntent.setType("image/png"); sendIntent.putExtra(Intent.EXTRA_STREAM, "file:///sdcard/ mygirlfriend.png"); I'm s

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-13 Thread dileep singh
hey please check this link.http://androidguys.com/?p=3100#comment-5168 once again mark has proved himself that he is always dere to help android guys. Thanks mark On Sat, Dec 13, 2008 at 1:38 AM, Peli wrote: > > > I'd love to see that one extra line in your example that shows how to > > add an i

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-13 Thread blindfold
Fabulous Peli! Thank you. I found the online documentation a bit intimidating at first, but this example gives a great flying start. Regards On Dec 12, 9:08 pm, Peli wrote: > > I'd love to see that one extra line in your example that shows how to > > add an image file attachment with the image

[android-developers] Re: How to use built in email application to send email from my application?

2008-12-13 Thread Mark Murphy
dileep singh wrote: > hey please check this link.http://androidguys.com/?p=3100#comment-5168 > once again mark has proved himself that he is always dere to help > android guys. Thank Peli, not me -- I just added some more words around the research he and the OpenIntents team did. -- Mark Murp

[android-developers] Re: How to use built in email application to send email from my application?

2009-01-03 Thread Abraham Lincoln
This doesn't seem to work for regular text file. I have tried giving mime types of "*/*", "text/plain" etc. Anyone knows how to attach text files using Gmail? Doesn't even work from Gmail app. On Dec 12 2008, 12:08 pm, Peli wrote: > > I'd love to see that one extra line in your example that sho

[android-developers] Re: How to use built in email application to send email from my application?

2009-01-03 Thread Noam Wolf
Is there a way to actually send the email without having the user choose an email client and hitting send? (without using a network connection and having a server do it on the back end) On Jan 3, 7:11 pm, Abraham Lincoln wrote: > This doesn't seem to work for regular text file. I have tried givi

Re: [android-developers] Re: How to use built in email application to send email from my application

2010-03-11 Thread $atish kolawale
Thanks for your reply Kumar, This code used but that action is not On Thu, Mar 11, 2010 at 6:28 PM, Kumar Bibek wrote: > > > Use this code. > >Intent intent = new Intent(Intent.ACTION_SENDTO); >intent.setData(Uri.parse("mailto:t...@gmail.com";)); >

Re: [android-developers] Re: How to use built in email application to send email from my application

2010-03-11 Thread $atish kolawale
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 wrote: > > > Use this code. > >Intent intent = new Intent(Intent.ACTION_SENDTO); >intent.setData(Uri.p

Re: [android-developers] Re: How to use built in email application to send email from my application

2010-03-11 Thread Mark Murphy
$atish kolawale wrote: > Thanks for your reply Kumar, >This code used but that action is not Try this: http://www.androidguys.com/2009/11/02/a-call-to-action-action_send-that-is/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in US: 1