getInfo() 處理 null 顯示「hasClassExit() 封裝邏輯。關鍵在於知道正確的屬性鍵與類名。
| System property | Description | Value |
|---|---|---|
| microedition.platform | CLDC 1.0/1.1 定義 | 依實現 |
| microedition.encoding | 固定返回 | ISO-8859-1 |
| microedition.configuration | CLDC 1.0/1.1 定義 | 依實現 |
| microedition.profiles | MIDP 版本 | MIDP2.0 |
| microedition.locale | JSR 37 | 依實現 |
| microedition.commports | 通訊埠 | 依實現 |
| microedition.hostname | 主機名 | localhost |
| file.separator | 檔案分隔符 | / 或 \ |
| microedition.pim.version | JSR 75 | 1.0 |
| microedition.smartcardslots | JSR 177 | 依實現 |
| microedition.location.version | JSR 179 | 1.0 |
| microedition.sip.version | JSR 180 | 1.0 |
| microedition.m3g.version | JSR 184 | 1.0 |
| microedition.jtwi.version | JSR 185 | 1.0 |
| wireless.messaging.sms.smsc | JSR 205 | 依實現 |
| wireless.messaging.mms.mmsc | JSR 205 | 依實現 |
| CHAPI-Version | JSR 211 | JSR 211 |
| 屬性 | 說明 | 範例值 |
|---|---|---|
| com.nokia.Network.Access | 網絡類型 | pd-GSM, pd.EDGE, pd.3G, wlan, na... |
| com.nokia.mid.dateformat | 日期格式 | yy/mm/dd |
| com.nokia.mid.timeformat | 時間格式 | hh:mm |
| com.nokia.memoryramfree | 動態記憶體 (S60v3 不支援) | 數值 |
| com.nokia.mid.batterylevel | 電池電量 | 數值 |
| com.nokia.mid.countrycode | 國家碼 | 數值 |
| com.nokia.mid.Networkstatus | 網絡狀態 | ... |
| com.nokia.mid.imei | IMEI 號 | 手機唯一識別 |
| com.nokia.mid.imsi | IMSI | ... |
如 Which-Locale: en,在 MIDlet 中用 getAppProperty("Which-Locale") 讀取。屬性名大小寫敏感,未定義返回 null。代碼片段示範讀取 MIDlet-Name 與自定義屬性。