title: Linkify() - activating links
body: <p>I have added links to text that is surrounded by [square brackets] in a popup dialog box. The links however, are not clickable (nothing happens when they are pressed). I can't work out why(!)</p>
  
  <p>Here is my dialog box activity:</p>
  
  <pre><code>public void popupDefinition(CharSequence term, LinkedHashMap&lt;String, String&gt; dictionaryMap){
      SpannableString definition = new SpannableString(dictionaryMap.get(term)); // grab the definition by checking against the dictionary map hash
      Linkify.addLinks(definition, pattern, scheme); // find text in square brackets, add links
  
      AlertDialog alertDialog = new AlertDialog.Builder(ListProjectActivity.this).create(); // create a dialog box
      alertDialog.setMessage(definitionFormatted); // set dialog box message
      alertDialog.show(); // actually display the dialog box
      }
  </code></pre>
  
  <p>'scheme' and 'pattern' are defined earlier, as follows:</p>
  
  <pre><code>final static Pattern pattern = Pattern.compile("\\[[^]]*]"); // defines the fact that links are bound by [square brackets]
  final String scheme = "http://example.com/"; // THIS IS NOT WORKING
  </code></pre>
  
  <p>Why, when I tap the links that appear (they appear nicely underlined in blue), do they not cause any response?</p>
  
  <p>I'm not actually trying to launch URL links (I'll be redirecting the ACTION_VIEW intent when it does occur), but I need to confirm that some sort of response is happening before I get to that...</p>