0
我想用意圖過濾器只能訪問我的飛濺的活動。不能使根活動的具體意圖過濾器在我的Android應用
[IntentFilter(new[] { Android.Content.Intent.ActionView },
AutoVerify = true,
Categories = new[] {
Android.Content.Intent.CategoryLauncher,
Android.Content.Intent.CategoryDefault,
Android.Content.Intent.CategoryBrowsable
},
DataScheme = "https",
DataHost =myexample.com,
DataPathPattern = ""
)]
我想訪問該活動僅此ADRESS(myexample.com),但其它的URL,例如myexample.com/mobile做同樣的事情。我應該如何阻止?我已經看到了與此相關的其他問題,但沒有人似乎對我一個答案。
你能描述一下你真正想要的嗎? –
飛濺活動是在我的應用程序的啓動活動。所以我想只能用myexample.com URL來訪問它,而不是與有我DataHost所有URL –