我正在尝试使用Android上的自定义方案传递数字ID。
我的意图过滤器在AndroidManifest中定义如下:
<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="foo" />
</intent-filter>
此表单中的链接有效:
但是当我尝试使用数字参数时,它会失败:
如何设置intent过滤器以便我可以发送数字查询字符串参数?