以编程方式确定 Android 应用程序是否已付款

发布于 2024-10-09 10:19:18 字数 138 浏览 0 评论 0原文

我想知道是否有任何方法可以通过编程方式确定 Android 应用程序是否已付费?

我将在我的应用程序中实现 Android LVL 库代码。但我也想让用户先试用该应用程序,然后如果喜欢就购买。那么我如何确定该应用程序是否已购买并因此获得完全许可。

I was wondering if there is any way to progammatically determine if the android app has been paid for?

I am going to implement the Android LVL library code in my app. But I also want to let the users first try out the app and then buy it if they like it. So how can I determine if the app has been bought and hence fully licensed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

泡沫很甜 2024-10-16 10:19:18

如果您想让用户在购买之前先试用您的应用程序,请发布有限的免费版本。 (受限于功能而不是时间)

然后也发布一个付费应用程序。我建议从免费应用程序中“追加销售”您的应用程序。即通过说它有更多功能、这个更好、那个更好来宣传和鼓励免费版本的升级。

那么 LVL 只属于付费版本,而不属于免费版本。

If you want to let users try your application out first before buying release a limited free version. (Limited by features not time)

Then also release a paid application. I would recommend 'up selling' your application from the free one. i.e. promote and encourage the upgrade from the free one by saying it has more features, better this, better that..

The LVL then only belongs in the paid version, not the free one.

黎歌 2024-10-16 10:19:18

这可以通过新的应用内结算 API 来完成,但不能通过现有的 LVL,因为 LVL 只能用于验证从 Android Market 进行的前期购买(读取付费应用程序)。

实际上,LVL 和应用内计费服务器响应是相同的,并且可以以相同的方式进行验证。

This can be done with the new In-app Billing API but not with the existing LVL, as LVL can only be used to verify upfront purchases from the Android Market (read paid apps.)

Effectively LVL and In-app Billing server responses are the same and can be verified in the same manner.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文