How to Retrieve the Terminal's IMEI Number: Difference between revisions

From wizarPOS
No edit summary
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
The code snippet is as follows:  
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/retrieve-terminal-imei-number}}
  TelephonyManager telephonyManager =
                (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
  String imei = telephonyManager.getImei(slot index);
Note: in Q2 Android 12, use above code to get IMEI, targetSDK version should <=28.

Latest revision as of 09:05, 7 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/retrieve-terminal-imei-number

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!