How to get a mobile phone IMEI in J2ME

xiaoxiao2021-03-06  42

How to get a mobile phone IMEI in J2ME

Author: Chen Yuefeng

From: http://blog.9cbs.neet/mailbomb

IMEI is an abbreviation of International Mobile Entity Identification, enters * # 06 # in the phone, can display the number, the length is 15 bits, the only world is unique, never conflict, so you can use a sign of the identification user.

Below is a method of obtaining IMEI in J2ME:

1, MOTO series mobile phone can be obtained by reading the IMEI attribute of the system, the code is as follows:

String IMEI = SYSTEM.GETPROPERTY ("IMEI");

2, the Siemens series mobile phone can be obtained by reading the COM.SIEMENS.IMEI attribute of the system, the code is as follows:

String IMEI = System.getProperty ("com.siemens.imei");

Other series of mobile phones don't know, I hope everyone will improve together.

转载请注明原文地址:https://www.9cbs.com/read-51670.html

New Post(0)