我正在尝试捕获一个url,如下所示:
https://example.com/apple/orange?key=value我有以下内容,但它似乎不起作用:
<activity>
<intent-filter>
<action
android:name="android.intent.action.VIEW" />
<category
android:name="android.intent.category.DEFAULT" />
<category
android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="https"
android:host="example.com"
android:pathPrefix="/apple/orange.*" />
...我应该如何修改它才能捕获url?
谢谢
发布于 2011-06-21 22:07:39
好的,我使用了"path“,它看起来应该是这样的:
android:path="/apple/orange"https://stackoverflow.com/questions/6392252
复制相似问题