如何在android中实现应用内支付?
我正在寻找在 Android 上开发应用内支付应用程序时的最佳实践?
如何在 Android 上存储数据,以便信息不会因升级而被删除,也不会轻易被窥探?该数据实质上表明该用户已经为该应用程序付费。
I am looking for best practices while developing in-app payment apps on android?
How do you you store the data on android so that the information is not wiped off by an upgrade nor is it easily visibly to prying eyes? The data essentially says that this user has already paid for the app.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我曾在 Java ME、BlackBerry、BREW 等其他移动平台上使用过许多进行应用内计费的应用程序。实现此目的的一种可靠方法是将信息保存在服务器上。该应用程序可以进行处理和/或任何其他类型的计费交易,但最终权限应该是服务器端。这样,应用程序升级、卸载等不会对计费产生影响(假设我们将用户绑定到唯一标识符,如 SubNo、客户端 ID、电话号码、MEID 等)。
I have worked with many apps that does in-app billing, across other mobile platforms like Java ME, BlackBerry, BREW etc. The one sure way of doing this is to keep information on server. The app can do the processing, and/or any other kind of billing transactions, but the final authority for this should be server side. That way, app upgrades, uninstall etc, will not have an impact on billing (assuming we tie the user to a unique identifier like SubNo, client ID, Phone number, MEID etc).