-1

J2me でデバイスの IMEI を取得する際に問題があります。これらの投稿のすべての文字列を試しましたが、大文字と小文字も区別されますが、常に null になります

デバイス IMEI の取得

http://qa.java-samples.com/questions/742/how-to-get-the-imei-number-of-the-mobile

4

1 に答える 1

2

use something like:

Nokia
System.getProperty("phone.imei");
System.getProperty("com.nokia.imei");
System.getProperty("com.nokia.mid.imei"); //especially for S40  devices

Note: Requires signed MIDlet. S60 3rd edition device does not requires signing to fetch this info.On Series 40 phones this requires that your MIDlet is signed to either operator or manufacturer domain, and this is only available in Series 40 3rd Edition, FP1 devices and newer.

Sony Ericsson
System.getProperty("com.sonyericsson.imei");

Samsung
System.getProperty("com.samsung.imei");

Motorola
System.getProperty("IMEI");

System.getProperty("com.motorola.IMEI");

Siemens
System.getProperty("com.siemens.IMEI");



LG
System.getProperty("com.lge.imei");
于 2012-05-10T04:22:18.610 に答える