티스토리 뷰

my Programing/J2ME

How to get IMEI in Java ME

Gandawon 2007. 11. 14. 14:10


[IMEI ] 란?
 전 지구적 이동 통신 시스템(GSM) 이동 단말기가 서로를 고유하게 식별할 수 있도록 이동 단말기에 할당된 식별 번호. 이 번호는 형식 승인 코드, 최종 조합 코드 및 일련 번호를 포함하여 15자리로 구성된다.
국제 이동 단말기 식별 번호 [, International Mobile Equipement Identity]



How to get IMEI in Java ME


The retrieval of IMEI number from Java ME is possible only in certain phones. In some cases it is possible only if the application is signed.

In Nokia phones you can get it with System.getProperty("com.nokia.mid.imei").

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.

On the S60 platform this has been implemented on some of the S60 3rd Edition phones (this includes Nokia E60, Nokia E61, and Nokia E62, but not Nokia 3250 or Nokia 5500). On S60 phones this does not require signing. Generically only the business models from S60 3rd Ed (incl. FP1) devices support these. This is because only the Nokia Enterprise Business unit has taken these Java enhancements. From S60 3rd Ed, FP 2 (no devices announced currently 2007-04-05) onwards these are available on all S60 devices.

Code to retrieve IMEI's in other devices:

    Siemens: System.getProperty("com.siemens.IMEI");
    Samsung: System.getProperty("com.samsung.imei");
    SonyEricsson: System.getProperty("com.sonyericsson.imei");
    Motorola: System.getProperty("IMEI");
              System.getProperty("com.motorola.IMEI");
    Nokia: System.getProperty("phone.imei");
           System.getProperty("com.nokia.IMEI");

'my Programing > J2ME' 카테고리의 다른 글

MathFP Class  (0) 2009.09.15
WMA 2.0과 Push Registry  (0) 2007.11.14
Java ME FAQ From Forum Nokia Wiki  (0) 2007.11.14
Supported Encodings  (0) 2007.10.29
댓글