java - How can I perform a negative match in Android intent filter? -


In the Android manifest, how can I do a negative match in android: pathPattern ?

I want to use a pathPattern which matches all the URLs for a specific hostname, if it is possible.

It does not seem that it is possible - in fact, not to do this work is being designed that way I think & lt; Intent-filter & gt; Whatever you are trying to do is the wrong tool

You can use android: pathPattern to specify the hostname (not this Is that android: host ?), It's more than a regex; According to this, it is deliberately weak for security reasons.


Comments