Intent filters use UriMatcher to parse URIs and determine if there is a match. #
is the URI wildcard for a number as seen in examples in UriMatcher. Per the UriMatcher source code, there is no escape sequence to escape a #
in a URI. Therefore you should use another, non-reserved symbol (note that *
is also reserved as the wildcard for any text).