Android路径模式转义#
我想打开应用程序后,点击电子邮件中的链接 类似这样:Android路径模式转义#,android,url,intentfilter,Android,Url,Intentfilter,我想打开应用程序后,点击电子邮件中的链接 类似这样:http://exaple.com/#/recipe/some 清单中的内部意图过滤器我使用以下代码: <data android:scheme="http" android:host="example.com" android:pathPattern="/.*/recipe/.*" /> 它适用于任何前缀,除了符号#。比如说, http://example.co
http://exaple.com/#/recipe/some
清单中的内部意图过滤器我使用以下代码:
<data android:scheme="http"
android:host="example.com"
android:pathPattern="/.*/recipe/.*" />
它适用于任何前缀,除了符号#
。比如说,
http://example.com/any_word/recipe/some
是否有任何方法可以逃逸(跳过)
符号?这可能会帮助您:正如我所理解的,这是不可能的。是否可以支持其他符号,如-?