应用程序安装日期
我想知道是否有办法知道 Android 手机中安装应用程序的日期。我想知道这一点,以便实施应用程序的限时试用/演示版本。
我可以保存第一次使用的日期,但精通技术的用户可以使用 ADB 更改数据库或删除支持文件。
感谢您的帮助。
I would like to know if there is anyway to know the date at which an application was installed in an Android phone. I would like to know this in order to implement a time limited trial / demo version of an application.
I could save the date on the first usage, but a tech-savvy user could use ADB to change the database or delete support files.
Thanks for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首次启动时,让应用程序进行服务器调用并在其中保存安装日期。它仍然不完美,因为用户可以在很多天后安装它并使用该应用程序,但就使用而言这应该足够了。
On first launch have the app make a server call and save the install date there. Its still not perfect as the user can install it and use the app many days later, but in terms of usage this should be enough.