Android LVL 的实时测试
我有一个付费应用程序,它已经在 Android 市场上发布几个月了,到目前为止,该应用程序还没有任何类型的版权保护或许可证验证方案。
我刚刚完成将 LVL 代码的修改版本添加到我的应用程序中。为了测试代码的许可证响应处理,我在模拟器上登录了我的开发帐户并成功完成了所有测试响应,然后在我的真实手机(运行 2.2 的 Droid)上执行了相同的操作。
我认为测试成功后就可以继续进行了,但我最后一次在互联网上进行了搜索,看看人们在允许 LVL 实施上线后是否遇到了问题。令我恐惧的是,我遇到了一个又一个开发人员的故事,他们说他们已经像我一样成功测试了所有测试响应,但是当他们实际上传包含 LVL 的应用程序时,他们所有的用户都收到回复说他们已经该应用程序的未经许可版本,但事实并非如此。
话虽如此,在我必须将 LVL 实际发布到市场之前,成功部署 LVL 的人能否告诉我测试和验证 LVL 实施是否正常工作(从最终用户的角度)的最佳方法?目前,我在市场上发布了旧的、未经许可的应用程序版本,我所做的测试是在清单文件中使用相同的版本代码,并且我只将更新的 apk 加载到模拟器上并到我的手机上(即新的 apk 未上传到市场)。对于偏执感到抱歉,但我宁愿完全删除 LVL 实现,也不愿向有效用户提供未经许可的响应。
I have a paid app that's been out in the Android Market for a few months now, and up to this point that app had no type of copy protection or license verification scheme.
I have just finished adding an modified version of the LVL code to my app. To test out the code's license response handling, I signed into my dev account on the emulator and went through all of the test responses successfully, and then did the same thing on my real phone (Droid running 2.2).
I thought I should be good to go after the successful testing, but I did one last internet search to see if people have had problems once they allowed their LVL implementation to go live. To my horror, I came across story after story of developers saying that they had successfully tested all of the test responses like I have done, but when they actually uploaded their app with LVL included, all of their users were getting responses saying that they had unlicensed versions of the app, when this wasn't really the case.
With that said, can someone who has successfully deployed the LVL tell me the best way to test and verify that the LVL implementation works as it should (from the perspective of an end-user), before I have to actually publish it to the market? Currently, I have my old, non-licensed, version of my app published on the market, and the testing I've done is using the same version code in the manifest file, and I've only loaded the updated apk onto the emulator and onto my phone (i.e. new apk is NOT uploaded to the market). Sorry for the paranoia, but I'd rather remove the LVL implementation altogether rather than give unlicensed responses to valid users.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在我的应用程序中包含了 LVL,并且没有任何用户(超过 10,000 个用户群)抱怨它没有正当理由(IE 信用卡被拒绝)。我只是遵循指南并在模拟器和手机上进行了测试。
一个好的方法是使用 LVL 代码创建应用程序的 Beta 版本(也许也用密码保护它)。以不同的包名称将其发布到市场上,然后让一些 Beta 测试人员付费并对其进行测试(您可以稍后将其全部退款,或者只需将他们的电子邮件添加到测试帐户中)。
另一种方法是将 LVL 添加到您的应用程序中,但在许可证失败时不会发生负面操作,然后您可以使用谷歌分析来检测有多少人获得许可证失败/通过。
I included LVL in my application and haven't had any users (of >10,000 userbase) complain about it saying unlicenced without a valid reason (I.E. credit card declined). I just followed the guidelines and tested on emulator and my phones.
A good way to go about it would be to create a Beta version of your application (perhaps password protect it too) with the LVL code in. Publish it in the market under a different package name, and then get a few beta testers to pay for it and test it (you can refund them all later, or just add their emails to the testing accounts).
Another way would be to add the LVL into your application but have no negative actions occur on licence failed, and then you could use google analytics to detect how many people are getting licence failed/passed.