Working with MIDP Project Configurations

The following table shows how to work with Java ME MIDP Project Configurations
Number one
Create a project
  • Create a project using the best template for your programming needs.

Number two
Create Additional Configurations

  • In the Project Properties window, click the Manage Configurations button. Then choose Add.
  • You can also add additional emulator platforms.

Number three
Customize the Configuration
  • Right-click the project node and choose Properties.
    You can use the same settings as the default configuration, or you can add MIDlets, libraries, and other resource files, define push registry entries and API permissions, and create settings for obfuscation and security.
    All changes you make to the default configuration, other than to the Run options, propagate to all other configurations automatically. Any changes you make to a configuration other than the default configuration apply only to that non-default configuration.

Number four
Add Preprocessor Code Blocks
  • You can right-click in the code and choose preprocessor blocks to add in blocks of code customized for a specific configuration.

Number five
Run Configurations
  1. Right-click the project node and chose Run.
  2. Activate a different configuration by selecting the project node and choosing Run > Set Project Configuration from the main menu. Then choose a different configuration and run the project again. You can also change the configuration of the selected project with the Configuration combo box in the main toolbar.

Legal Notices