如何实现试用软件模式在Android? [英] How to implement trialware model on Android?

查看:147
本文介绍了如何实现试用软件模式在Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是如何实现Android应用试用软件模型有什么建议?我打算释放我的应用程序作为一个免费的应用程序,在30天后到期,除非用户通过应用程序内购买购买许可证。

Any tips on how to implement a trialware model for Android apps? I plan to release my app as a free app that expires after 30 days unless the user buys the license via an in-app purchase.

我可以使用Android Market API来告诉我们,如果他们购买的许可证,因此我的主要问题是如何prevent来自未安装的用户,并重新安装我的应用程序每30天?我可以节省一些自己的手机,将保持,即使用户卸载手机上的一个永久和可靠的方式?我知道什么都不会停止坚定的黑客,我只是想阻止普通用户。

I can use the Android Market API to tell if they bought the license, so my main question is how to prevent the user from un-installing and re-installing my app every 30 days? Can I save something to their phone in a permanent and reliable way that will remain on the phone even if they uninstall? I know nothing will stop a determined hacker, I just want to stop the average user.

我也可以有不同的方式,在Android去试用。

I am also open to different approaches to going trialware on Android.

由于提前,

巴里

推荐答案

我会避免留下自己的手机上的应用程序不需要的遗体。

I would avoid leaving unwanted remains of the application on their phone.

相反,你可以把一些设备的唯一标识符 ,并将其发送到您的服务器,如果这个ID没有被注册之前,把它激活code,如果是,不送了。

Instead, you can take some unique identifier of the device, and send it to your server, if this ID was not registered before, send it activation code, if it was, don't send it.

存放在一些共享preferences等,并在应用程序启动时,该激活code,检查是否激活code是存在的,如果它是有效的。

Store this activation code in some shared preferences etc. and when the application starts, check if the activation code is there and if it is valid.

这篇关于如何实现试用软件模式在Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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