Download CDC Porting Guide - Oracle Documentation
Transcript
Fields appType protected int appType MAIN_APP public static int MAIN_APP MIDLET_APP public static int MIDLET_APP XLET_APP public static int XLET_APP Constructors Application(java.lang.String name, java.lang.String iconPath, java.lang.String clazz, java.lang.String classpath) public Application(java.lang.String name, java.lang.String iconPath, java.lang.String clazz, java.lang.String classpath) Create an instance of an application. Parameters: name - The application’s name iconPath - The location of the application’s icon clazz - The main class of the application. Methods addProperty(java.lang.String name, java.lang.String value) public void addProperty(java.lang.String name, java.lang.String value) throws SyntaxException Add a key/value pair to the application’s list of properties. 42 CDC Porting Guide • November 2005