Doesn't show the android email html format when receive outlook
Posted
by saravanan palpandi
on Stack Overflow
See other posts from Stack Overflow
or by saravanan palpandi
Published on 2010-05-29T13:13:31Z
Indexed on
2010/05/29
13:22 UTC
Read the original article
Hit count: 396
doesnt show the html format in outlook. please do reply me. sorry for the english
private void sendEmail() {
try {
String value = "" +
"" +
"Name " +
"anroid" +
"
" +
"" +
"Version" +
"2.2" +
"" +
"";
Intent email_intent = new Intent(Intent.ACTION_SEND);
email_intent.setType("text/html");
email_intent.putExtra(Intent.EXTRA_SUBJECT, "android Details");
email_intent.putExtra(Intent.EXTRA_TEXT, Html.fromHtml(value));
email_intent.setType("vnd.android.cursor.dir/email");
startActivity(Intent.createChooser(email_intent,"Sending mail.."));
}catch(Exception e) {
}
}
© Stack Overflow or respective owner