How to handle deeplinking with custom scheme (Android)
<p>I want to be able to handle deep links like this :</p>

<pre><code>appnm://typeA/12
appnm://typeA/42
appnm://typeA/99
....

appnm://typeB/43
appnm://typeB/092
appnm://typeB/....
</code></pre>

<ol>
<li><p>Do I have to make two activities - for type A and for type B. Or can I handle both in one activity ?
For example, would that work :   </p>

<p>data android:scheme="appnm"
                   android:host=""
                    android:pathPrefix="/" /></p></li>
<li><p>when I type in some note on the phone "http:// ..." it automatically gives me the option to enter it like a link. However in my case "appnm://..." it doesn't. So how can I test the deeplink with a custom scheme ?</p></li>
</ol>