1

Sending Html email With database table in email body in android

view story
linux-howto

http://stackoverflow.com – I am developing an android app in which i have a sqlite table containing two columns(Product,price). I want to insert this table in the email body and send an email.I read in some docs that table tag is not supported in android so i tried using div tag in string.xml but is not working. I can send a mail with texts in email body but could'nt bring table format. I used the below code, String formattedText = getString(R.string.htmlFormattedText); Intent emailIntent2 = new Intent(android.content.Intent.ACTION_SEND); String[] recipients2 = new String[]{"[email protected]", "",}; emailIntent2.putExtra (HowTos)