×
Namespaces

Variants
Actions

Series 40: System Properties in Operator and Manufacturer domain

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Compatibility
Platform(s):
Series 40
MIDP 2.0
Article
Created: User:Technical writer 1 (16 May 2008)
Last edited: hamishwillee (23 Jul 2013)

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 all GSM/3G devices starting from Series 40 6th Edition

String Description
com.nokia.mid.gid1 Returns Group Identifier level 1. The structure of GID1 and GID2 are identical. They are provided to allow the network operator to enforce different levels of security dependant on application.
com.nokia.mid.gid2 Returns Group Identifier level 2. The structure of GID1 and GID2 are identical. They are provided to allow the network operator to enforce different levels of security dependant on application.
com.nokia.mid.msisdn Returns the phone number (MSISDN).
com.nokia.mid.productcode Returns the 7 digit product code.


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.

Contents

This page was last modified on 23 July 2013, at 02:29.
97 page views in the last 30 days.