Currently in my app, I have my own URI scheme to detect when user clicks on a particular URI.
Code used in Manifest file is as below:
<intent-filter> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="http" android:host="com.test/> <action android:name="android.intent.action.VIEW" /> </intent-filter> If a user clicks on a link which has my custom URI in browser, It will now popup a options for user to choose my app.
But how do I pass this data which is the link to my app when started for further processing? Basically how do I pass data from browser to my app?