Android link in dialog
<p>How can I add a link to a dialog message?</p>

<p>I tried the following code, but the link doesn't do anything on onclick:</p>

<pre><code>builder.setMessage(Html.fromHtml(
      "Click on the  " +
      "&lt;a href=\"http:\\www.google.com\"&gt;link&lt;/a&gt; " +
       "to download."));
</code></pre>

<p>It didn't work for <code>//www.google.com</code> either.</p>
