I searched in internet something about problem with application which I code now, and found interesting trick on Nokia forum . You can get the IMEI code from Series 40 3rd Edition devices in your midlet

All you need - to retrieve the system property “com.nokia.mid.imei“. This works in some of the latest Series 40 3rd Edition devices. Of course, your MIDlet should be signed before using such system property, without it you can test this on emulator