But you can change your mind. After installation, open it for activation for the first time, send a request to the server, the server will count the activation amount +1, and return the current activation serial number to the APK When the serial number is >1000, it is not allowed to continue running. , exit directly
Of course, no matter how restrictions are imposed, there are ways to circumvent them ~
A method that does not require the Internet: After installation and operation, create a new configuration file in a certain directory of the SD card. This way, the file will not be deleted even if it is uninstalled. However, someone may delete the file, so it is still necessary to supplement it. server.
It is impossible to restrict "installation"
But you can change your mind. After installation, open it for activation for the first time, send a request to the server, the server will count the activation amount +1, and return the current activation serial number to the APK
When the serial number is >1000, it is not allowed to continue running. , exit directly
Of course, no matter how restrictions are imposed, there are ways to circumvent them ~
The common practice in games is to use an activation code. Then, you can send 1,000 activation codes.
The activation code method is indeed good, but it must force users to connect to the Internet first before they can open the APP
The poster probably doesn’t know that Android can be played without the Internet. .
cannot
However, there is no solution (๑•ᴗ•๑)
There is no way to control it, because the Android software can be used without the Internet.
There is no need to connect to the Internet during installation. If you want to limit the number of users, use an activation code as mentioned before
Detection based on machine code plus a certain algorithm
A method that does not require the Internet: After installation and operation, create a new configuration file in a certain directory of the SD card. This way, the file will not be deleted even if it is uninstalled. However, someone may delete the file, so it is still necessary to supplement it. server.