Device IMEI locking for tablets
In my application I used to lock application with IMEI code. I mean during startup application checks device IMEI and compares it with list of allowed devices. If device is in list user can continue to work, otherwise it bails out: public boolean checkIMEI(Activity activity) { TelephonyManager tm=(TelephonyManager )activity.getSystemService(Context.TELEPHONY_SERVICE); if(tm==null) { Log.v(TAG, "Can't get telephony service"); new MessageBox(activity, "Can't get telephony service. Forcing shut down!"); return false; } //encrypted IMEIs list String[] vals=activity.getResources().getStringArray(R