Editing the project's mobile runtime and device settings

The project's mobile runtime is defined when creating the MTJ project. However, you can also change the runtime and device settings later on.

Editing the project's mobile runtime

  1. In the menu bar, select Window -> Preferences -> MTJ -> Runtime Platform.
    The Preferences window opens with the Runtime Platform pane.
  2. In the RuntimePlatforms field, highlight the runtime that you want to edit and select Edit.
    The Edit Runtime Platform window opens.


  3. In the Device Platforms field:
    1. If you want to change the device platform for your runtime, check the box next to the desired device platform.
    2. If you want to import a new mobile SDK into MTJ, select import and define the settings for the new device platform in the Add Mobile Device Platform window.
  4. In the RuntimePlatform field, you can edit the name and description of your runtime in the Name and Description fields.
  5. Click OK.

The Preference window displays the changes in the Runtime Platform pane.

Editing device settings in mobile runtime configuration

  1. In the menu bar, select Window -> Preferences -> MTJ -> Runtime Platform.
    The Preferences window opens with the Runtime Platform pane.
  2. In the RuntimePlatforms field, highlight the runtime whose device settings you want to edit.
    The Devices field lists the devices assigned for that particular runtime.
  3. In the Devices field, check the box next to the device whose settings you want to edit, and click edit.
    The Edit Device window opens.

  4. In the Edit Device window:
    1. If you want to change the Java ME profile, in the Profiles field, click the radio-button next to the desired profile.
    2. If you want to change the Java ME configuration, in the Configurations field, click the radio-button next to the desired configuration.
    3. If you want to add or remove the Service APIs for the device, in the Service APIs field, clear the boxes next to those APIs you want to remove and check the boxes next to those APIs you want to add.
  5. Click OK.
Note: Besides Preferences, you can also access the project's settings through the Package Explorer view, by right-clicking the desired project and selecting Properties from the pop-up menu that appears.


Mobile SDKs


Managing mobile SDKs


Preferences