Android 从意图筛选器中排除子域
我正在使用我的应用程序和以下意图过滤器:Android 从意图筛选器中排除子域,android,intentfilter,Android,Intentfilter,我正在使用我的应用程序和以下意图过滤器: <intent-filter android:autoVerify="true"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <ca
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="*.myhost.com"
android:pathPattern=".*"
android:scheme="https" />
</intent-filter>
如何在此处排除子域?我不确定是否有任何标记,但您可以在setContentView方法之前在活动的oncreate方法中检查url,然后完成活动。
subdomain.myhost.com