File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes IMEI Access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "IMEI Access" Watch "IMEI Access" New topic
Author

IMEI Access

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
We need access to IMEI number for Mobile phones on J2ME MIDP 2.0 application. The search results says it is not possible but is there any work around to access IMEI?

Thanks
Jignesh


Regards,
Jignesh

The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Juarez Alvares Barbosa Junior
Ranch Hand

Joined: Mar 18, 2002
Posts: 80
Hello there,

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.

[]'s

Juarez Junior - Brazil
SCPJ2/SCWCD/SCBCD/SCMAD/SCEA Part I/SCAJ (awaiting results)
Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
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?

Thanks,
Jignesh
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
IMEI not in MIDP ..


Future in PersonalProfile but its not in there yet..

ie no IMEI on MIDP or J2ME


MobileBytes blog - Sharing Technology - My Programming Knols
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IMEI Access