[android-developers] Re: problem sending an email with an attachment programmatically

2009-12-10 Thread jasper
I'm trying to embed an HTML reference to an image to include in an HTML email. I used a SpannableString to successfully create an email that has a http href in it, as shown below. But I have not been able to add an image into the body of the email. Other programs add something like this directly

[android-developers] Re: problem sending an email with an attachment programmatically

2009-11-18 Thread Jason
I am also having this attachment issue with the Email application. It works perfectly fine with the GMail app, which throwing me for a loop. My code is as follows: Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile (attachmentFile));

[android-developers] Re: problem sending an email with an attachment programmatically

2009-10-03 Thread Sławek
hi, mudit try to use file:///sdcard/abc.jpg instead of file://sdcard/abc.jpg On Aug 13, 3:14 pm, Fin f_mac...@hotmail.com wrote: On 7 Aug, 14:25, mudit mudit.a...@gmail.com wrote: hello.. i`m trying tosendan email using native email client on android phone. I have tried

[android-developers] Re: problem sending an email with an attachment programmatically

2009-08-13 Thread Fin
On 7 Aug, 14:25, mudit mudit.a...@gmail.com wrote: hello.. i`m trying tosendan email using native email client on android phone. I have tried following ways to add anattachmentto the mail... method--1 Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.setType(image/jpeg);