How to Retrieve the Terminal's IMEI Number

From wizarPOS
Revision as of 04:46, 29 March 2020 by Jeff (talk | contribs) (Jeff moved page How to get IMEI to How to obtain IMEI of terminal)

The code snippet is as follows:

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