Java – Applications should not be shared with other users

Applications should not be shared with other users… here is a solution to the problem.

Applications should not be shared with other users

I want to make sure that once my app is installed on any Android device, it shouldn’t work after retrieving that apk from that device and installing it on other devices (by sharing a pre-installed apk).
I thought about using IMEI, but I can’t predefine it in the app (because I might make the app available to multiple users). I want my app to be available only to users of my choice. This is an offline application, so one cannot expect to check over the web.

Solution

In short, offline apps are largely unlucky.

Related Problems and Solutions