How to Retrieve the Terminal's IMEI Number

From wizarPOS
Revision as of 04:45, 29 March 2020 by Jeff (talk | contribs)

The code snippet is as follows:

 TelephonyManager telephonyManager =
               (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
 String imei = telephonyManager.getImei(slot index);