I am trying to create an email from within a method with android that contains some style but it is not working, how can achieve this - or is it not possible?
Intent i = new Intent(Intent.ACTION_SEND);
i.setType("text/html");
i.putExtra(Intent.EXTRA_EMAIL , new String[]{"test@example.com"});
i.putExtra(Intent.EXTRA_SUBJECT, "Sample");
i.putExtra(Intent.EXTRA_TEXT , Html.fromHtml("<p style='color: red'>Hello</p>"));
try {
startActivity(Intent.createChooser(i, "Send mail..."));
} catch (android.content.ActivityNotFoundException ex) {
showWarning("There are no email clients installed");
}