The table below defines the generic system properties used by Series 40 and S60 devices. All system properties
are available to the application by calling the method java.lang.System.getProperty
System property |
Description |
Value |
---|---|---|
|
Name of the host platform or device. Includes information about the device model number and version, platform version, and Java build version. Note: Series 40 is abbreviated S40 in the |
For example:
|
|
Character encoding. |
Always returns |
|
Name and version of the supported configuration. |
|
|
Name of the supported MIDP profile. Devices that implement other profiles also return names of those profiles. |
|
|
The current locale on this device. Note: The set of locales supported by the device depends on the languages and region. |
Locale in |
|
A comma-separated list of ports. It can be combined with a |
Defined in |
|
The local hostname, if it is available. |
|
|
Version number of the supported JTWI Specification |
Always returns |
|
Version number of the supported MSA Specification, or the subset of MSA. |
The possible values are |
The table below defines the Nokia-specific system properties used by Series 40 and S60 devices.
System property |
Description |
S60 Release |
Series 40 release |
Value |
---|---|---|---|---|
|
This can be used to query the available RAM in the operating system. This is a more realistic estimate of available RAM on the device than
what is returned by Note: This property is not available on all S60 3rd Edition devices. |
S60 3rd Edition |
||
|
The preferred date format indicated as a string pattern, which is formatted
according to the rules defined in Java 2, Standard Edition, version 1.4.1, |
S60 3rd Edition FP 2 |
||
|
The preferred time format indicated as a string pattern, which is formatted
according to the rules defined in Java Standard Edition, version 1.4.1, |
S60 3rd Edition FP 2 |
hh:mm a |
|
|
The battery charge level of device. |
S60 3rd Edition FP 2 |
Returns the percentage value of battery level. |
|
|
Network access type of used active connection or a set default access point. |
S60 3rd Edition FP 2 |
|
|
|
Current network country code. |
S60 3rd Edition FP 2 |
Returns the mobile country code defined in ITU-T Recommendation E.212 |
|
|
Network identification parameters (Network Identification Number (NID) in CDMA and Mobile Network Code (NMC) in GSM) and network short name. |
S60 3rd Edition FP 2 |
Returns two values:
For a list of possible values, see list of MNCs |
|
|
On 2G devices, returns identity of the cell from which a mobile telephony call was made or received. On 3G devices, returns UC-ID (UTRAN ID) value, which is a combination of Radio Network Controller ID (RNC-ID) and cell ID. |
S60 3rd Edition FP 2 |
Series 40 3rd Edition FP 1 |
|
|
Returns current GSM location area code (LAC) as a string. The SIM card
must be inserted and service acquired in order to return a LAC value, otherwise
returns This value applies only to 2G devices. |
S60 3rd Edition FP 2 |
Series 40 5th Edition FP 1 |
|
|
Whether the device is in home network or roaming currently. |
S60 3rd Edition FP 2 |
|
|
|
Network availability. |
S60 3rd Edition FP 2 |
|
|
|
Current (GSM/CDMA) network signal strength. The output format is as follows: |
S60 3rd Edition FP 2 |
Returns two values:
|
|
|
The IMEI (International Mobile Equipment Identity) of the device. |
S60 3rd Edition FP 2 |
Series 40 3rd Edition FP 1 |
Returns a 14 digit decimal number that uniquely identifies the device. |
|
The IMSI (International
Mobile Subscriber Identity) stored in the SIM card. Note that the access
to this system property is limited with |
S60 3rd Edition FP 2 |
Series 40 5th Edition FP 1 |
Returns the subscriber number associated with the device. The IMSI number is usually 14 decimal digits long, but it may be shorter. |
The MSISDN (Mobile Station International Subscriber Directory Number) stored in the SIM card. This property is available only in manufacturer and operator domain. |
S60 3rd Edition FP 2 (Only in Java Runtime 1.3 for S60 and later) |
Returns all MSISDN numbers stored in the SIM separated by blank (Unicode U+0020). One MSISDN number is usually maximized to 15 decimal digits. Note: SIM cards do not necessarily contain a single MSISDN. If none are present, |
||
Indicates the area covered by the networking indicator in full-screen
mode |
S60 5th Edition |
Used only when |
||
|
Indicates the position of the left (1), right (2) and middle (3) softkey labels, respectively. |
S60 5th Edition |
Used only when For an example on using softkey labels, see section Setting softkey label location |
|
|
Indicates the alignment of the left (1), right (2) and middle (3) softkey labels, respectively. |
S60 5th Edition |
Used only when The value is the combined (bitwise OR) values of anchor points as defined
in MIDP specification in Otherwise returns For an example on using softkey labels, see section Setting softkey label location |
The com.nokia.mid.timeformat
and com.nokia.mid.dateformat
system
properties indicate the user preferences of date and time formats.
For example, in many devices there are settings available for user to indicate the date and time formatting settings: ordering of date, month and year components of date strings, separators used between components of date and time strings, whether 12 or 24 hour clock is used, and so on. The values of above system properties indicate the currently active user preferences for these settings. MIDlets can use these values to format date and time strings they, for example, need to display in user interfaces.
For a list of keypad-oriented system properties, see section System properties for keypad settings