Return to Snippet

Revision: 12787
at March 28, 2009 19:28 by abwaters


Initial Code
<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>

Initial URL
http://stackoverflow.com/questions/525063/android-respond-to-url-in-intent

Initial Description
With android you can define intent-filters to indicate that your app wants to handle requests for specific urls.

Initial Title
Android Intent Filter for Hijacking Specific Web Site URLs

Initial Tags
android

Initial Language
XML