Adding Push Registry Entries

See Also

The push registry allows MIDlets to be launched in response to an incoming network connection. When a MIDlet registers for push notifications, the device software is instructed to listen for incoming network connections and launch the MIDlet, if appropriate.

To open the Push Registry Properties page:

  1. Choose File > "active project name" properties.
    This opens the Project Properties dialog.
  2. Select Push Registry from the left pane.

To register a MIDlet in the push registry:

  1. Open the Push Registry properties page.
  2. Click Add to add a new MIDlet, and provide the following information in the Add Push Registry Entries dialog:

A push registration key is automatically generated and shown as an attribute in the MIDlet suite's Java Application Descriptor (JAD) file. To view the JAD file, choose the Application Descriptor Property settings from the left pane.

Each key designation is unique and of the form MIDlet-Push-<n>, where <n> begins at 1 and is incrementally increased with each registration. A MIDlet suite can have multiple push registrations.

To edit a push registry entry:

  1. Open the Push Registry properties page.
  2. Click the Edit button.
  3. In the Edit Push Registry dialog, edit the fields as described above.

To remove a push registry entry:

  1. Open the Push Registry properties page.
  2. Select the Push Registry entry from the table and click the Remove button.

To change the order push registry entries are displayed:

  1. Open the Push Registry properties page.
  2. Select a Push Registry entry from the list.
  3. Click the Move Up or Move Down buttons.

For more information about using the push registry, see

See Also
About Push Registry
MIDP Project Properties: Push Registry Page

Legal Notices