【发布时间】:2021-08-25 05:47:42
【问题描述】:
我正在尝试通过深度链接通过评级(1-5 星)来玩商店,这可能吗?
val uriBuilder = Uri.parse("https://play.google.com/store/apps/details")
.buildUpon()
.appendQueryParameter("id", PACKAGE_NAME)
val intent = Intent(Intent.ACTION_VIEW).apply {
data = uriBuilder.build()
setPackage("com.android.vending")
}
startActivity(context,intent, bundleOf())
【问题讨论】:
标签: android google-play parameter-passing deep-linking