|
|
Classification: |
Java |
Category: |
J2ME MIDP 2.0 |
Created: |
11/09/2004 |
Modified: |
04/29/2005 |
Number: |
FAQ-1162 |
Platform: |
Not Applicable |
|
Question: Can a phone's IMEI number be accessed from MIDP?
Answer: Although neither MIDP 1.0 or 2.0 supports an API to retrieve the IMEI number, some handset manufacturers provide access to
the IMEI number via the System getProperty( ) method. The property identifier will vary between manufacturers so check the
specific manufacturer documentation. For example the Sony Ericsson P910 series, (but not the P900) allows developers to retrieve
the IMEI number as follows: String IMEI = System.getProperty("com.sonyericsson.IMEI");
|
|
|