Android检测盗版/破解应用程序

发布于 2024-11-27 12:33:45 字数 81 浏览 0 评论 0原文

在 iPhone 上,有多种方法可以检测用户何时打开盗版应用程序版本。

Android 上有没有办法检测用户何时使用盗版应用程序?

On the iPhone there are several ways to detect when user opens the version of your app that was pirated.

Is there a way on the Android to detect when an user is using the pirated version of your app?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

自此以后,行同陌路 2024-12-04 12:33:45

许可证验证库 (LVL) 与您的需求类似。

许可服务是控制对应用程序的访问的安全方法。当应用程序检查许可状态时,市场服务器使用与发布者帐户唯一关联的密钥对签署许可状态响应。您的应用程序将公钥存储在其编译的 .apk 文件中,并使用它来验证许可状态响应。

您通过 Android Market 发布的任何应用程序都可以使用 Android Market 许可服务。无需特殊帐户或注册。此外,由于该服务不使用专用框架 API,因此您可以向任何使用最低 API 级别 3 或更高级别的旧应用程序添加许可。

为了帮助您向应用程序添加许可,Android SDK 提供了可以包含在应用程序项目中的库源。许可证验证库 (LVL) 处理与 Android Market 客户端和许可服务的所有与许可相关的通信。通过集成 LVL,您的应用程序只需调用库检查器方法并实现接收状态的回调即可确定当前用户的许可状态。

本文档介绍了许可服务的工作原理以及如何将其添加到您的应用程序中。

这里是一个示例。

引用自此处

License Verification Library (LVL) is similar to your need.

The licensing service is a secure means of controlling access to your applications. When an application checks the licensing status, the Market server signs the licensing status response using a key pair that is uniquely associated with the publisher account. Your application stores the public key in its compiled .apk file and uses it to verify the licensing status response.

Any application that you publish through Android Market can use the Android Market Licensing service. No special account or registration is needed. Additionally, because the service uses no dedicated framework APIs, you can add licensing to any legacy application that uses a minimum API level of 3 or higher.

To help you add licensing to your application, the Android SDK provides library sources that you can include in your application project. The License Verification Library (LVL) handles all of the licensing-related communication with the Android Market client and the licensing service. With the LVL integrated, your application can determine its licensing status for the current user by simply calling a library checker method and implementing a callback that receives the status.

This document explains how the licensing service works and how to add it to your application.

And here is an example.

Referenced from here .

以可爱出名 2024-12-04 12:33:45

如果您所说的盗版是指将应用程序从合法购买的设备上取下并复制到另一台设备上并运行,那么是的,许可证验证库将检测到它并调用您的代码来处理它。

不幸的是,如今盗版网站和点对点网络网站上提供的大多数盗版应用程序都已被反编译,删除了许可证检查并重新编译并使用不同的证书进行数字签名,因此 LVL 毫无用处。如果是这种情况,就像我的付费应用程序一样,没有检测到,坦率地说,你对此无能为力。谷歌为我们提供了一个平台,让其他人很容易窃取您的知识产权。事实上,这很容易,现在大多数盗窃都是自动化的。这是一颗难以吞咽的苦药丸,在谷歌采取行动之前,这种情况将继续发生。 Dalvik Dex 代码可以由其他人反编译、编辑、重新编译和数字签名。它在任何形状或形式上都不安全。

If by pirated you mean that the app is taken off a device that legitimately bought it and copied to another device and run, then yes the License Verification Library will detect it and call your code to deal with it.

Unfortunately, most pirated apps available on the pirate sites and peer to peer network sites today have been decompiled, had the license check removed and recompiled and digitally signed with a different certificate, so the LVL is of no use. If that is the case, as it was with my paid app there is no detection, and quite frankly nothing you can do about it. Google has provided us a platform the makes it very easy for others to steal your Intellectual property. In fact, it is so easy, most of the theft is now automated. It is a bitter pill to swallow, and until Google does something about it, it will continue to happen. The Dalvik Dex code can be decompiled edited, recompiled and digitally signed by someone else. It is not secure in any way shape or form.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文