Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android路径模式转义#_Android_Url_Intentfilter - Fatal编程技术网

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


是否有任何方法可以逃逸(跳过)
符号?

这可能会帮助您:正如我所理解的,这是不可能的。是否可以支持其他符号,如-?