Creating the installation package

  1. Right-click on the LWUITApplication folder in the Projects tab and click on Properties.

    The LWUITApplication properties dialog box is displayed.

  2. Navigate to Build > Obfuscating, set the Obfuscation Level to High and click on OK.

    Note:

    Using the LWUIT library without obfuscation makes the MIDlets in practice too big to be installed on phones where the maximum JAR size limited. Obfuscation ensures the MIDlet contains only the classes used.

  3. Right-click on the LWUITApplication folder in the Projects tab and click on Clean & Build.

    A MIDlet suite consisting of JAD and JAR files, which can be installed to the phone, are created in the dist folder inside the project folder.

  4. Right-click on the LWUITApplication folder in the Projects tab and click on Deploy

    You can also deploy the MIDlet to the phone using Nokia Suite or via Bluetooth.