title: Android deep linking into an app
body: <p>I am trying to create a link that can be sent via email which when opened on an android device with my app installed will automatically open the correct page in my app.</p>
  
  <p>I have gotten this partially working in a few different ways but have found a few problems that I was wondering if anyone has solutions to.</p>
  
  <p><strong>Attempt 1:</strong> Using a custom scheme: myapp://someItem. This works but some email applications do not treat this as a link as it is not http. Is there a way to force applications to treat it as a valid link? gmail for example.</p>
  
  <p><strong>Attempt 2:</strong> Using a http link with a host: <a href="http://com.myapp/someItem" rel="noreferrer">http://com.myapp/someItem</a>. This works as well but my app ends up registered to handle all http links which is not ideal.</p>
  
  <p><strong>Attempt 3:</strong> Using a http link with host and port: <a href="http://com.myapp:2345/someItem" rel="noreferrer">http://com.myapp:2345/someItem</a>. This is my current solution with the only drawback being that when the link is opened it still gives the option of opening the link in a browser. Is there a way to stop the browser attempting to open my links?</p>
  
  <p>Does anyone have a way to make links that will be treated as links by all applications and also be ignored by the browser when opening them?</p>