如何知道对于具有给定意图操作的特定 apk 可以通过 am 传递哪些参数

How to know what parameters can be passed through am for the particular apk with the given intent action

我会举例说明我的问题。
所以如果我想在 google play store 上打开一个 android 应用程序页面,我会直接发送

adb shell am start -a android.intent.action.VIEW -d 'market://details?id=com.yourpackagename'

在这里我想知道这个人应该如何知道他需要发送带有该 uri 的 -d 才能直接打开 android 应用程序页面。

所以这是我的完整问题-
对于 am,我们可以发送很多参数,例如

am [start|instrument]

am start [-a <action>] [-d ]
[-t <mime_type>] [-c <category> [-c <category>] ...]
[-e <extra_key> <extra_value>
[-e <extra_key> <extra_value> ...]
[-n <component>] [-D] [<uri>]

我怎么知道哪些参数可以与该 apk 意图一起使用?

这是我知道的?
我知道哪些参数可以与使用该 apk 清单的 -n 和 -c 选项一起使用,但我不知道 -t、-e、-d 选项,甚至不知道在清单中的何处查找。

MIME 类型应在清单中指定(如果存在),数据 方案(而不是数据本身)也应如此。

但是,要找到应用正在寻找哪些额外内容和哪些数据,您需要查看代码并了解它如何过滤接收到的 Intent,以及它在寻找什么。