A compilation of J2ME properties sorted by JSR. Learn the names, test for optional packages or retrieve platform specific configuration values.
Tutorial Details:
Question
What are the defined J2ME system property names?
Answer
The various J2ME JSR documents define system property names that can be queried at runtime. These provide two services:
To indicate the availability of an optional package:
For example, if the device supports the Location API for J2ME then the property microedition.location.version will be present. The value associated with it will be "1.0", to indicate compliance with JSR 179.
To provide platform-dependent configuration data
For instance, the property microedition.commports is present in the MIDP 2.0 specification. Its value is a comma-separated list of ports you can use to build a URL, which the Generic Connection Framework can in turn use to create a javax.microedition.io.CommConnection object.
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: What are the defined J2ME system property names?
View Tutorial: What are the defined J2ME system property names?
Related
Tutorials:
|