【发布时间】:2014-02-06 01:19:22
【问题描述】:
我知道通常有几个关于此的问题,但我找不到答案,而且文档没有几个示例,这很烦人。如果你能链接我一个指南会更好。但是我的实际问题如下:
[<path>|<pathPrefix>|<pathPattern>] 应该是什么才能开始我的活动:
http://www.example.com/e=VARIABLE
例如
http://www.example.com/e=foo
http://www.example.com/e=bar481
我试过了:
<data
android:host="www.example.com"
android:pathPattern="./e=.*"
android:scheme="http" />
和
<data
android:host="www.example.com"
android:pathPattern="/e=.*"
android:scheme="http" />
另外,我尝试了android:pathPattern、path和pathPrefix的位置。
我假设我可以使用 foo 和 bar481 based on the second part here,但我仍在努力启动意图。
文档:http://developer.android.com/guide/topics/manifest/data-element.html
【问题讨论】:
标签: android