i want to display HTML content in Email but i cant i have tried all available methods plz help me
I tried this but not getting ...............
Using java Syntax Highlighting
- String s = "<html><body><table border=1><tr><td>1</td><td>2</td></tr><tr><td>1</td><td>2</td></tr></table></body></html>"
- Intent i = new Intent(android.content.Intent.ACTION_SEND);
- i.setType("text/html");
- i.putExtra(android.content.Intent.EXTRA_EMAIL, "dividemultiply@plusminus.com");
- i.putExtra(android.content.Intent.EXTRA_SUBJECT,"Anddev");
- i.putExtra(android.content.Intent.EXTRA_TEXT, Html.fromHtml(s));
- startActivity(i);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
I AM GETTING same <html><body> in the email .... it is sending email but i want the html content to be formatted
NOTE : i have also used StringBuffer but still no change
So, please kindly help me and provide the executing code .......................
Regards,
Waiting for ur Reply,
PowerSquareRoot.





