Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0

Get PDF Book Print View

Document Information

Getting Started

Java ME Platform SDK Features

Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Viewing General Project Properties

Selecting a Platform

Editing Application Descriptor Properties

CDC Attributes

MIDP Attributes

Adding an Attribute

Editing an Attribute

Removing an Attribute


Adding a MIDlet

Editing a MIDlet

Removing a MIDLet

Changing MIDlet Display Order

Push Registry

Adding a Push Registry Entry

Remove a Push Registry Entry

Change Push Registry Display Order

API Permissions

Building a Project

Configuring Ant


Adding Libraries and Resources

Creating JAR and JAD Files (Packaging)



Exporting a Key

Running Settings

Running a MIDP Project

Running a CDC Project

Running Projects in the Emulator

Searching the WURFL Device Database

Finding Files in the Multiple User Environment

Profiling Applications

Monitoring Network Traffic

Lightweight UI Toolkit

Security and MIDlet Signing

BD-J Support

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator

On-device Debugging

Command Line Reference


JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

JSR 172: Web Services Support

JSR 177: Smart Card Security (SATSA)

JSR 179: Location API Support

JSRs 184, 226, and 239: Graphics Capabilities

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

JSR 238: Mobile Internationalization API (MIA)

JSR 229: Payment API Support

JSR 256: Mobile Sensor API Support


Adding a Push Registry Entry

Follow these steps to edit a Push Registry entry.

  1. Click Edit... to open the Edit Push Registry window.

  2. Enter Class Name, Sender IP, and Connection String values.

    • Class Name. The MIDlet's class name.

    • Sender IP. 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.

    • Connection String. A connection string that identifies the connection protocol and port number.

  3. Click OK.

    The new values are listed in the table. 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.

To make use of the Push Registry, you must also have permission to access the Push Registry API, javax.microedition.io.PushRegistry. API Permissions are handled in the API Permissions property page.