Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>This works for a few basic tags - bold, italic - but won't for anything like an html table.</p> </blockquote> <p>That is a function of the email client, most likely. Not all email clients can author arbitrary HTML, on any platform. So, while Mozilla Thunderbird appears to let you create an HTML mail with a table, Gmail does not (leastways, I don't see an option for it in the message-compose window).</p> <blockquote> <p>I am wondering if there is not a more fundamental limitation that will force you to do something completely different</p> </blockquote> <p>Unless you write your own email client, extending the several classes needed to allow <code>TextView</code> and <code>EditText</code> to handle HTML tables (it's <strong>way</strong> more than just the <code>Html</code> class) will do you no good.</p> <blockquote> <p>and I am wondering if the gmail app looks under the covers to see what the charsequence really is and then can handle a few tags</p> </blockquote> <p><code>TextView</code> and <code>EditText</code> can "handle a few tags", lining up roughly with what <code>Html</code> can parse/generate and <code>SpannedString</code> can represent. </p> <p>None of that can handle an HTML table. Nor JavaScript. Nor CSS. Nor <code>iframe</code> or any number of other tags.</p> <blockquote> <p>but in the end you've got to bite the bullet and implement a lot of lower level stuff yourself</p> </blockquote> <p>I'd start by asking yourself whether sending HTML mail with tables from the phone directly is worth it. You could send HTML mail with tables from your server using a Web service interface, or you could send HTML mail sans tables from the phone. Neither of those would require you to collect "the pw stuff".</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload