如何讓一個(gè)安卓應(yīng)用 apk文件只能安裝1000次
擁有18年軟件開(kāi)發(fā)和IT教學(xué)經(jīng)驗(yàn)。曾任多家上市公司技術(shù)總監(jiān)、架構(gòu)師、項(xiàng)目經(jīng)理、高級(jí)軟件工程師等職務(wù)。 網(wǎng)絡(luò)人氣名人講師,...
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. .
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
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.