Java ME Embedded Project Properties Dialog Box: Application Descriptor

Use the tabs of the Application Descriptor panel to customize the project configuration as follows:

Element Description

Attributes tab

Use the buttons on the right side of the tab to add, remove, and modify an attribute. You can perform any of the following:
  • Add. Enables you to add an attribute.
  • Edit. Enables you to edit the selected custom attribute.
  • Remove. Removes the selected attribute. You cannot remove a required attribute.

Packaging Model

Specifies a MIDlet suite or a LIBlet package.

General Attributes for JAD and JAR Manifest

Displays the type, name, and value of an attribute.

Type

Displays a field that cannot be edited, and lists whether the attribute is: Required, Optional, Custom, JAD only, Manifest only, or Forced.

Required

Indicates an attribute that is required by the MIDP standard.

Optional

Indicates an attribute that provides information about the MIDlet suite. This is information that is not required by MIDP to run the MIDlet.

Custom

Indicates a user-defined attribute.

Custom attributes cannot begin with the prefix Midlet-.

JAD only

Indicates a custom attribute stored only in the JAD file.

Manifest only

Indicates a custom attribute stored only in the JAR Manifest file.

Forced

Indicates an attribute that overrides the value for a Profile or Configuration version than is shown in the Platform Properties page.

Name

Displays he name of the attribute.

Only custom field names can be edited.

Value

Displays the values for each attribute.

Override JAR URL in JAD

Enables you to customize the URL for the JAR file.

Check this option and enter a custom JAR file name.

MIDlets tab

Use the buttons on the right side of the tab to add, remove, modify, and change the order of MIDlets. You can perform any of the following:
  • Add. Enables you to add a MIDlet.

  • Edit. Enables you to edit the selected MIDlet.
  • Remove. Removes the selected MIDlet.
  • Move Up. Places the selected MIDlet higher in the list.
  • Move Down. Places the selected MIDlet lower in the list.

Name

Shows the displayable name of the MIDlet that the user sees when the MIDlet is run on a mobile device.

Class

Displays the Java class that for the MIDlet.

Icon

Displays an icon (a .png file), representing the MIDlet, that the user sees when the MIDlet is run on a mobile device.

Push Registry tab

Use the buttons on the right side of the tab to add, remove, modify, and change the order of push registry entries. You can perform any of the following:
  • Add. Enables you to add a push registry entry.

  • Edit. Enables you to edit the selected push registry entry.
  • Remove. Removes the selected push registry entry.
  • Move Up. Places the selected push registry entry higher in the list.
  • Move Down. Places the selected push registry entry lower in the list.

MIDlet Class

Displays the MIDlet's class name.

Sender IP.

Displays a valid sender that can launch the associated MIDlet.

If the value is the wildcard (*), connections from any source are accepted. If datagram or socket connections are used, the value of Allowed Sender can be a numeric IP address. For example, 129.70.40.*

Connection String

Displays a connection string that identifies the connection protocol and port number. For example, sms://:50000

API Permissions tab

Use the buttons on the right side of the tab to add, remove, and modify a permission. You can perform any of the following:
  • Add. Enables you to add a permission.
  • Edit. Enables you to edit the selected permission.
  • Remove. Removes the selected permission.

API

Displays the API permissions requested by the MIDlet.

Required

Makes the permission required. At installation, if the required permission cannot be granted by the application management software, the application is not installed.

If this option is not checked, the permission is optional. If an optional permission is denied, the application might continue to function, although its functionality can be limited



Related Topics

Developing Applications with NetBeans IDE,

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.