Hi Kumar,

Thanks for your response. I'm having misgivings about the GMail app.
First of all, it doesn't even recognize the market:// URI, what's up
with that?

Anyway, do you have any suggestions on how can I achieve what I want?
As much as possible I want the image to be embedded/inline instead of
an attachment.


Thank you again,
Zarah.


On Oct 27, 5:41 pm, Kumar Bibek <[email protected]> wrote:
> I suspect if you the gmail app has been designed to do so. Your approach is
> correct, but it all depends on how the GMail app is designed.
>
> On Wed, Oct 27, 2010 at 3:06 PM, Zarah Dominguez <[email protected]>wrote:
>
>
>
>
>
>
>
>
>
> > Hi guys,
>
> > Hope you can help me with my question.
>
> > I am trying to embed an image in an email body.  I am trying to use
> > the ImageGetter to retrieve the bitmap, and send my Intent like this:
>
> > Intent intent = new Intent(Intent.ACTION_SEND);
> > intent.setType("text/html");
> > intent.putExtra(Intent.EXTRA_SUBJECT,
> > getResources().getString(R.string.recommend_vid_title));
> > intent.putExtra(Intent.EXTRA_TEXT   , Html.fromHtml(emailBody, imgGet,
> > null));
>
> > When viewing the draft using the GMail app, all I see is [OBJ] instead
> > of the bitmap.
>
> > I tried setting the email contents to a TextView just to check if it
> > is correctly formatted and the image shows up fine.  Is this a problem
> > with the GMail app or am I doing something stupid?
>
> > I am testing using the Samsung Galaxy S.  Hope someone can help. :)
> > Thanks in advance!
>
> > Best regards,
> > Zarah.
>
> > --
> > 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]<android-developers%2Bunsubs 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com

-- 
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

Reply via email to