Android 应用内购买
我在 Android 市场上有一款测验应用程序,目前售价 1 美元。我想提供一个问题有限的免费版本,并包含一个菜单,供用户升级到完整版本。
我的问题只是这里的最佳实践是什么?
我可以想到的可能性是:
- 在免费版本中提供一个链接,将用户带到付费版本 Android 市场上的版本 url,他们只需直接下载完整版本。
- 免费版本中有条件语句限制 可用问题数量 如果 VERSION == FREE,则启用所有问题 购买时设置 VERSION = PAID 的问题。
- 下载购买时的附加问题 (这需要我自己的文件服务器吗?)
您有什么想法?
I've got a quiz app on the Android market right now selling for $1. I would like to offer a free version with limited questions, and include a menu offering the user to upgrade to the full version.
My question is simply what the best practice is here?
The possibilities I can conceive are:
- Have a link in the free version that takes the user to the paid
version's url on the android market, whereby they'd just download the full version directly. - Have condition statements in the free version that limit the
number of questions available if VERSION == FREE, enable all
questions upon purchase by setting VERSION = PAID. - Download the additional questions upon the purchase
(would that require my own file server?)
What are your thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不能说这 3 种变体之间存在最佳实践,您应该选择更适合您和您的应用程序的方法。第一个变体对于开发人员来说是最简单的,第二个变体提供了更好的用户体验,但您需要在应用程序中实现应用内计费。第三种方法是最困难的,因为您需要一台服务器来存储文件。我个人会选择第一种方法,因为第二种方法有一个陷阱 - 你需要将锁定的问题放在演示版本的 apk 中,而且它不安全。更安全的方法是不要将它们放入您的演示版本中 - 这是第一种方法为您提供的。但是,这是您作为开发人员的选择。祝你好运!
Can't say there is a best practice between these 3 variants, you should just choose the more appropriate approach for you and your application. First variant is the simplest for you as a developer, second offers a better user experience, but you need to implement In-App Billing in your app. And the third approach is the most difficult cause you'll need a server to store your files on. I'd personally choose the first approach, since the second one has a pitfall - you need the locked questions to be inside your demo version's apk and it's just not secure. The much more secure approach is to not put them in your demo version - this is what the first approach gives you. However, it's your choice as a developer. Good luck!