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.

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 right-clicking the project node and choosing Set Active Project Configuration. Then choose a different configuration and run the project again. You can also change the configuration of the Main Project with the Configuration combo box in the main toolbar.

Legal Notices