how to embed html in email body ?

by Makrand » Sat, 27 Feb 2010 13:54:24 GMT

Sponsored Links

I am trying to send a email by using Intenet, and i am trying to add
HTML page in email body,

but in compose box its showing only HTML code, its not rendering.

so how to add HTML in Email body.

Here is my Java code

Intent sendIntent = new Intent(Intent.ACTION_SEND);
          sendIntent.putExtra(Intent.EXTRA_EMAIL, mailto);
          sendIntent.putExtra(Intent.EXTRA_TEXT, htmlString);
startActivity(Intent.createChooser(sendIntent, "Email"))

the "htmlString" contains my HTML code

Here is my HTML code

  <meta http-equiv="content-type" content="text/html;
  <meta content="width = device-width" name="viewport">
<h3>Hello world !!!!!</h3>

Please help me !!!!!


Other Threads

1. Wap Receiver


Im currently devoloping (well, trying to) a wap receiver application.
ive seen this hex-string in the debug window that when converted to
ascii, displays the text of the message.

but ive got no idea how to get that hex string programatically from
the message? i know how the debug window does it, but that class used
is not part of the api. can anyone please help me out on that?



2. 2-D Graphics Performance after Motorola Droid 2.1 Update

I have observed a marked difference in frame rate of 2-D (Canvas)
graphics following a 2.1 update on the Motorola Droid. Details are

Can anyone else corroborate this?  I have posted the code and an apk
in the above blog entry.

Also, it would be interesting to know whether there is a difference
between manual and OTA updates.



3. hello 锛?get trouble with surf aceview switch.

4. Updating bounds with animation

5. Android Dev Phone 2: version and iPhone sim card questions

6. Undocumented error code from glGetError

7. Can't dispatch DDM chunk 52454151: no handler defined