This is a very simple issue. I'm trying to put a link to an email address in a TextView, using Html.fromHtml.
body.setText(Html.fromHtml("<a href=\"mailto:[email protected]\">Contact</a>"));
When that link is clicked, a new email is addressed to "emailaddress [email protected]". Notice that the plus symbol has disappeared. I've tried this:
body.setText(Html.fromHtml("<a href=\"mailto:emailaddress"+'+'+"[email protected]\">Contact</a>"));
and
body.setText(Html.fromHtml("<a href=\"mailto:emailaddress+[email protected]\">Contact</a>"));
to the same result.
Anyone know how I can get the link to work correctly?