Dynamic deeplinking in Android
<p>I was going through the document <a href="http://developer.android.com/training/app-indexing/deep-linking.html" rel="noreferrer">http://developer.android.com/training/app-indexing/deep-linking.html</a> to learn about deeplinking in Android. I have an activity in my Android app called <code>WalletActivity</code> and I have managed to successfully create deeplink for that by making necessary changes in the <code>AndroidManifest</code> file.</p>

<p>But, my <code>WalletActivity</code> contains a list of options, tapping on which it lands me to another activity <code>WalletRechargeActivity</code>, the contents of which depends on the respective option that is selected from the list of options in <code>WalletActivity</code>. Now, I want a deeplink that can land me directly on the respective <code>WalletRechargeActivity</code> screen itself. How do I do that?</p>

<p>For example, if <code>example://wallet</code> lands me to <code>WalletActivity</code>, I would like something like <code>example://wallet/abcd50</code> to land me to the respective <code>WalletRechargeActivity</code> screen with the $50 recharge option. And this value <code>abcd50</code> can vary from anything to anything, and is not fixed from beforehand, so I cannot add it in the <code>AndroidManifest</code> file with respect to the <code>WalletRechargeActivity</code> either, right? I need to handle it dynamically. So, can you tell me how do I do this?</p>