/ Published in: XML
With android you can define intent-filters to indicate that your app wants to handle requests for specific urls.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<intent-filter><action android:name="android.intent.action.VIEW"></action> <category android:name="android.intent.category.DEFAULT"></category> <category android:name="android.intent.category.BROWSABLE"></category> <data android:host="www.youtube.com" android:scheme="http"></data> </intent-filter>
URL: http://stackoverflow.com/questions/525063/android-respond-to-url-in-intent