This page was last modified 06:35, 2 June 2008.
TSJ000964 - Series 40: System Properties in Operator and Manufacturer domain
From Forum Nokia Wiki
| ID | TSJ000964 | Creation date | May 16, 2008 |
| Platform | Series 40 Platform | Devices | |
| Category | Java ME | Subcategory | MIDP |
This technical solution lists system properties that can be retrieved by using the System.getProperty() method call. The article is targeted at Series 40 developers using the Operator and Manufacturer domain.
If a system property string returns "null", the feature is not supported.
System Properties in GSM and CDMA products starting from Series 40 3rd Edition, Feature Pack 1
| String | Description |
| com.nokia.mid.imei | Returns product's IMEI string. |
| Cell-ID | The ID (numeric value) of the current GSM cell. |
System Properties in all GSM products starting from Series 40 3rd Edition, Feature Pack 1
| String | Description |
| com.nokia.mid.imsi | Returns IMSI as a string read from the SIM installed in the product. |
| com.nokia.mid.spn | Returns Service Provider name (if available on SIM), "" if not available, null if the API is not supported. |
| com.nokia.mid.mnc | Returns MCC/MNC as a 4 to 6 digit string (depending on Operator). |
| com.nokia.mid.ons | Returns Operator Name String (equivalent of SPN for CPHS phones). |
| com.nokia.mid.networkID | Returns string of current/active network (MCC/MNC). Returns "" if not available (e.g. out of service) and null if the API is not supported. |
System Properties in certain GSM devices starting from Series 40 5th Edition, Feature Pack 1
Note that these values are not supported in all devices.
| String | Description |
| com.nokia.mid.cellid | Returns CELLID as string. This is current GSM cell identifier (CELLID). Device should have SIM card and acquired service to return a CELLID value, otherwise returns NULL. |
| com.nokia.mid.lac | Returns LAC as string. This is current GSM location area code (LAC). Device should have SIM card and acquired service to return a LAC value, otherwise returns NULL. |
| com.nokia.mid.impl.nativeDigitSupport | Returns the setting from a user menu option elsewhere in the phone software. |
System Properties in CDMA Products only
| String | Description |
| ESN | Returns the string containing device ESN. Returns null if the device is MEID provisioned. |
| MEID | Returns the string containing the MEID of the phone. Returns null if the phone is ESN provisioned. |
| MIN | Returns the string containing MIN (number used by the network to page the phone). |
| MDN | Returns the string containing the MDN (number used by a user to call another user). |
| IMSI | Returns the string containing the IMSI. |
| device_id_imsi | Returns the string containing the IMSI (deprecated). |
| User-Agent | Returns the string containing the value of the "User Agent header" used by the HTTP stack and the browser. |
| Browser Header User Agent | Returns the string containing the value of the "User Agent header" used by the browser (deprecated). |
| DEVICE_MANUFACTURER | Returns the string containing the device manufacturer. |
| DEVICE_MODEL | Returns the string containing the device model. |
| SOFTWARE_VERSION | Returns the string containing the software version. |
| NAI | Returns the string containing the Network Access Identifier. |
System Properties on Sprint only
| String | Description |
| sprint.device.firmware.version | Returns the software version. |
| sprint.device.model | Returns the device model. |
| sprint.device.user.mdn | Returns the mobile directory number. |
| sprint.device.esn | Returns the device's ESN. |
| sprint.device.user.nai | Returns the currently active Network Access Identifier. |
| browser.header.user.agent | Returns the string containing the "User Agent header" used by the HTTP stack and the OW browser (are the same). |
| microedition.wma.version | Returns version of WMA support. |
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| wep on normal server? | Matab | WAP Servers | 1 | 2003-02-21 08:01 |
| removal of sms send confirmation alert | msujee | Mobile Java General | 2 | 2003-11-13 08:24 |
| NCF autodetect not working | jzxu | Symbian Tools & SDKs | 3 | 2006-12-10 22:38 |
| Series 40 (Nokia 6133) HttpConnection | prajwol123 | Mobile Java Tools & SDKs | 10 | 2007-03-16 17:37 |
| Any system property to detect the front camera | Liyo | Mobile Java Media (Graphics & Sounds) | 1 | 2007-11-06 04:24 |

