Is there a way to restrict the number of users of an android app? I want to sell an app to a third party and only give 100 liscenses of the app.
How can I do it?
Is there a way to restrict the number of users of an android app? I want to sell an app to a third party and only give 100 liscenses of the app.
How can I do it?
The best way to achieve this is to :
1) get the device ID (as explained here)
2) Checking that device ID and sending it to an external webserver where all the allowed devices IDs are stored.
You can implement a webservice on your Splash Activity or a Login Activity to check if the device's ID is accepted on your white list. If it is, you allow the transition to the app, if not, you display a pop-up saying that the device does not have a valid license and you finish the application
Either way, you always need a 3rd party webservice for license doublechecking.
Regards,