我怎样才能让一个有时间限制的试用应用程序? [英] How can I make a time-limited trial application?

查看:255
本文介绍了我怎样才能让一个有时间限制的试用应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够使我的申请有时间限制的试用版,但我不知道我怎么能可靠地确定用户是否尝试重新安装在到期日之后的申请。

I'd like be able to make a time-limited trial version of my application, but I'm not sure how I can reliably determine whether or not the user attempted to reinstall the application after the expiration date.

我可以很可能存储在存储位置,将不会被卸载后,删除初始安装日期,但是这似乎并不像一个理想的方法。难道谷歌Play的申请许可支持此功能,或者是有另一种可以接受的方式做到这一点?

I could likely store the initial installation date in a storage location that wouldn't get erased upon uninstall, but this doesn't seem like an ideal method. Does Google Play's Application Licensing support this feature, or is there another acceptable way to accomplish this?

推荐答案

要重复一下写在注释:

让设备创建一个UUID,然后将UUID到服务器一样被提及。每次应用程序正在使用或每隔几天,这是以往任何时候都多,检查应用程序试用已过期,应禁用在许可服务政策。这样,你可以有授权服务禁用应用程序给你。

Have the device create a UUID, then send the UUID to a server like was mentioned. Every time the app is used or every couple days, which ever is more, check if the app trial has expired and should be disabled IN the Licensing Services policy. That way you can have the licensing service disable the application for you.

这篇关于我怎样才能让一个有时间限制的试用应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆