Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 02:52, 2 November 2007.

How to get IMEI in Java ME

From Forum Nokia Wiki


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");


For more information see MIDP System Properties document on Forum.Nokia.com

Related Discussions
Thread Thread Starter Forum Replies Last Post
Series80 emulator crashes qt_raip Symbian Tools & SDKs 13 2004-11-20 19:30
Help I am beginner vbvb Symbian Networking & Messaging 6 2007-08-22 12:28
How to retrieve manufacturer searial no jimcat831 Mobile Java General 3 2005-09-09 12:54
Self mobile phone number tridcomm Mobile Java General 2 2002-11-04 12:34
security for accesing sis palak_shah_23 Symbian Networking & Messaging 4 2006-10-20 11:44
 
Powered by MediaWiki