System.getProperty("microedition.platform");On a Windows Mobile 5 smartphone, the IBM J9 VM returns "Windows CE 5.1,Smartphone" followed by the phone model. However, the built-in JVM returns "intent JTE" instead. On a Nokia N90, it returns "NokiaN90-1/5.0607.7.3".
Showing posts with label platform. Show all posts
Showing posts with label platform. Show all posts
Tuesday, May 1, 2007
Platform Detection in J2ME
J2ME provides system properties which can be used to detect the platform you're running on. This is useful for writing platform-specific code such as serial communication.
Subscribe to:
Posts (Atom)