如何使用具有特定参数值的意图过滤器捕获 URL

cha*_*est 5 android

我正在尝试使用意图过滤器来拦截格式为 https://qx.process.com?f=anyValue的 QR 码上的 URL 也就是说,我只想在指定的 URL 为 'f= 时拦截它' 指定参数。我已经尝试过这个,但它不起作用:

<intent-filter>
<action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE"></category>
    <data android:scheme="https"  android:host="qx.process.com" 
               android:pathPrefix="\\?f=*">
    </data>
</intent-filter>
Run Code Online (Sandbox Code Playgroud)

Chr*_*CVB 5

路径仅涉及路径,而不涉及像您这样的查询字符串?XXXX