开发者

Android: Is is possible to match a URL in an intent filter based on a hostname AND the presence of a prarameter

I would like to have an Intent filter that matches my specific web site, IF a particular parameter is present in the URL.

In a regex this would be something like:

http://my.domain.comp=

where "p" is the parameter I am looking for.

I have tried this with the following Intent filter

With no success. Removing the pathPattern element (as expected) catches all URLs for that host.

Is this possible, or is pathPattern limited to t开发者_StackOverflowhe strict definition of path, where queryParameters are not included?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜