title: Linkify Android for phone numbers, address and Email
body: <p>I have a custom <code>TextView</code> (extends <code>TextView</code>) which can contain any text configured by the customer. I need to add the functionality, where user can click the phone number, address and email and app can launch appropriate app (dialer, maps, email). Please look my current implementation : </p>
  
  <pre><code>public class MyTextView extends TextView{        
  
      // constructors and styling of this view
  
     public void setStyle(){
          setLinksClickable(true);
          setMovementMethod(LinkMovementMethod.getInstance());
          Linkify.addLinks(this, Linkify.ALL);
         //setAutoLinkMask(Linkify.ALL);
     }
  
  }
  </code></pre>
  
  <ol>
  <li>What is wrong in my implementation ? I cannot click the text containing the phone number, address and email.</li>
  <li>What format for phone number, address and email should be inputted in the textview for this feature to work ?</li>
  </ol>
  
  <p>Any help or advise appreciated !!</p>
  
  <p>Thanks.</p>