KGetProperty

MIDPから見たデバイスのプロパティ表示プログラム

MIDP(Java)であっても色々と機種依存なコードを書かなければならないことは多々あります。 機種の自動判別、サポートしている言語、ファームウェアの判定などに使用できる情報を提供するプログラムです。

以下の情報を表示します。

System.getProperty("microedition.encoding")
System.getProperty("microedition.platform")
System.getProperty("microedition.locale")
System.getProperty("microedition.configuration")
System.getProperty("microedition.profiles")

内容については実行してみれば分かるでしょう。

導入

  • fileKGetProp10.zipをダウンロードし解凍します。
  • binディレクトリー下にあるKGetProperty.jarをデバイスに導入してください。