android - 如何在 Android 的应用程序内连接 Playstore 支付网关?

标签 android google-play google-play-services

我正在创建一个对几个模块免费的应用程序,我希望用户为这个应用程序中可用的其他模块付费。我不希望用户付费并从 Playstore 下载完整版。相反,我希望用户使用我的应用程序来支付和激活完整版。

我在很多游戏中都看到过这种情况......但我不知道从哪里开始。

最佳答案

您可以使用 Google Play Billing .使用所有模块开发您的游戏,并根据用户购买的内容启用/禁用模块。为了进行此验证,register products对于代表模块的应用程序

关于android - 如何在 Android 的应用程序内连接 Playstore 支付网关?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14856343/

相关文章:

android - 从 Android USB 附件中读取数据

android - 在不更改扩展文件的情况下更新 Google Play 中的 APK

in-app-purchase - Google Play API返回错误

android-studio - Android Studio 无法识别 InstanceID 类

android - 我可以将 ResolvableApiException 传递给新 Activity 吗?

android - 将 firebase 库更新到 16.0.0 会引发 google play 服务依赖性问题

android - 从整数更改评级栏值

android - K4LVideoTrimmer 中的 ClassNotFoundException : com. coremedia.iso.boxes.FileTypeBox

android - 错误:(8,30)错误:即使我已编译com.android.support:support,也找不到符号类ActionBarActivity

android - 是否可以将新的APK自动上传到Google Play?