02a cldc property support
DESCRIPTION
J2ME CLDCTRANSCRIPT
CLDC Property Support
Cornelius Koo - 2005
Host Platform / Device
• System.getProperty(“microedition.platform”);
Default Character Encoding
• System.getProperty(“microedition.encoding”);
Configuration Name and Version
• System.getProperty(“microedition.configuration”);
Supported Profiles Name
• System.getProperties(“microedition.profiles”);
Accessing Runtime Information
Runtime rtime = Runtime.getRuntime();
System.out.println("Total memory: "+rtime.totalMemory());
System.out.println("Free memory: "+rtime.freeMemory());
Reference
• Core J2ME Technology and MIDP. John
W. Muchow. Prentice Hall PTR, 2002.