用于劫持特定网站URL的Android意图过滤器

【用于劫持特定网站URL的Android意图过滤器】笛里谁知壮士心,沙头空照征人骨。这篇文章主要讲述用于劫持特定网站URL的Android意图过滤器相关的知识,希望能为你提供帮助。
With android you can define intent-filters to indicate that your app wants to handle requests for specific urls.

  1. < intent-filter> < action android:name=" android.intent.action.VIEW" > < /action>
  2. < category android:name=" android.intent.category.DEFAULT" > < /category>
  3. < category android:name=" android.intent.category.BROWSABLE" > < /category>
  4. < data android:host=" www.youtube.com" android:scheme=" http" > < /data>
  5. < /intent-filter>


    推荐阅读