0
我只是无法访问YouTube上的浏览器来启动我的应用程序。必须是因为AJAX /重定向。这适用于Flickr和其他网站,但不适用于YouTube。YouTube的意图过滤器正在扮演愚蠢的角色
<intent-filter >
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="youtube.com"
android:pathPattern=".*"
android:scheme="http" />
<data
android:host="*.youtube.com"
android:pathPattern=".*"
android:scheme="http" />
</intent-filter>
有没有办法做到这一点?
尝试没有'pathPattern'。 –
工作时去youtube.com,m.youtube.com仍然无法正常工作,即使当我写在android:主机属性。 –