As far as I know it's not in MIDP 1 or 2 but it depends on the device and manufacturer. Try these:
Sony Ericsson System.getProperty("com.sonyericsson.IMEI")
Motorola: System.getProperty("phone.imei") or System.getProperty("device.imei") or System.getProperty("IMEI")
Siemens: System.getProperty("com.siemens.IMEI") or System.getProperty("com.siemens.mp.IMEI")
Nokia is acessible only when using Symbian/Series 60 C++, I guess.
Juarez Junior - Brazil SCPJ2/SCWCD/SCBCD/SCMAD/SCEA Part I/SCAJ (awaiting results)
Joined: Dec 28, 2004
Hi , I'm looking for a way to identify a J2ME MIDlet and the cellphone where this MIDlet is installed. I know that some phones like Nokia and siemens give the possibility to get the IMEI code using "system.getproperty(com.siemens.imei)" and something like for Nokia.
I need a way to identify every kind of cellphone, not only Nokia and Siemens. So now my question:
API Bluetooth for J2ME are available. Every bluetooth device has its own Unique Idenfier Code(48bit). Can i get this code of 48 bit from my MIDlet? There is any other unique code (like Mac Address) i can get using my MIDlet?