android lvl 检查购买的应用程序是否在退款期内

标签 android android-lvl

我正在使用 LVL 向我的应用程序添加许可。我想知道我是否可以检查购买该应用程序的人是否仍然能够获得退款(在购买后 15 分钟内使用该应用程序)。任何人都可以给我一些例子或指导吗?

或者另一种选择:检查应用程序何时安装在手机上。 我找到了这个链接 -> installTime

但有些事情不清楚:

应用程序源目录在安装后从未修改过?

更新后呢?

还在 licensing/ServerManagedPolicy.java 中发现了这条评论:

 * These values will vary based on the the way the application is configured in
 * the Android Market publishing console, such as whether the application is
 * marked as free or is within its refund period, as well as how often an...

最佳答案

只需在应用程序中设置日期时间,并在启动应用程序时将其保存为首选项。然后在某个时间点对其进行评估,看看是否已经过了 15 分钟。

关于android lvl 检查购买的应用程序是否在退款期内,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4578056/

相关文章:

android - 如何为我的 Android 应用程序创建一个包含初始数据的 Realm 数据库?

android - 是否可以在锁定设备后继续在 android 平台上运行服务?

android - android中的许可应用程序?

android - 我可以从应用程序 A 查询 Android Market License 服务器以查看应用程序 B 是否是从市场上合法购买的吗?

java - Android LVL 签名验证失败

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

android - 异常 : Package android does not belong to 2000

单个对话框中的 Android 多个运行时权限

android - 如何从 Android 中的 GPS 获得最准确的速度

android - 有时Google LVL失败,出现 'Error contacting licensing server.'其他人看到了吗?