Why not try something like this:
* Intent emailIntent = new
Intent(android.content.Intent.ACTION_SEND); *
* emailIntent.setType("application/image");*
* emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new
String[]{"[email protected]"}); *
* emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,"Test
Subject"); *
* emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "From My
App"); *
* emailIntent.putExtra(Intent.EXTRA_STREAM,
Uri.parse("file:///mnt/sdcard/sc.png"));*
* startActivity(Intent.createChooser(emailIntent, "Send mail..."));*
Based on code from here:
http://stackoverflow.com/questions/14457457/android-intent-send-an-email-with-image-attachment
Thanks.
On Wednesday, May 22, 2013 7:45:56 PM UTC-5, Sonia Gupta wrote:
>
> I am facing the same issue...need to embed an image, but not able to find
> a solution yet. Did you get anything?
>
> Sonia
>
> On Wednesday, March 23, 2011 2:14:57 AM UTC-7, Mathieu wrote:
>>
>> Zarah did you manage embed your image ?
>>
>>
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.