title: How to open an installed app from an email URL in Android?
body: <p>I want to open my app from an email URL, basically like the example shown below for <a href="https://twitter.com/" rel="noreferrer">Twitter.com</a>.</p>
  
  <p><strong>Email with link:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/28pAy.png" alt="Email with link"></p>
  
  <p><strong>Selection to open app or browser:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/jDAGJ.png" alt="Select app or browser"></p>
  
  <p><strong>After you click on the app choice, the Twitter app opens:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/uB60Y.png" alt="Open Twitter app"></p>
  
  <p>I tried the following code, but it is not working:</p>
  
  <pre><code>&lt;intent-filter&gt;
      &lt;action android:name="android.intent.action.VIEW"&gt;&lt;/action&gt;
      &lt;category android:name="android.intent.category.DEFAULT"&gt;&lt;/category&gt;
      &lt;category android:name="android.intent.category.BROWSABLE"&gt;&lt;/category&gt;
      &lt;data android:host="www.twitter.com" android:scheme="http"&gt;&lt;/data&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>If anyone has a proper answer, please write some examples here.</p>