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

MIDlets

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

Compiling

Adding Libraries and Resources

Creating JAR and JAD Files (Packaging)

Obfuscating

Signing

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

Logs

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

Index

Adding Libraries and Resources

To view this property page, right-click on a project and choose Properties. In the Properties window Build category, choose Libraries and Resources.

This page allows you to add a dependent project, libraries, and other supporting files to the current project.

Add Project. The JAR file produced by another project, as well as the associated source files and Javadoc documentation. Adding this item to a classpath sets up a dependency between the current project and the selected JAR file.

Add Library. A Library is a collection of JAR files or folders with compiled classes, which can optionally have associated source files and Javadoc documentation. If the Package checkbox is checked the library is included in the application’s JAR file. If it is not checked, the library is copied into the \lib directory.

Add JAR file. A JAR file created by another project.

Add Folder. The root of a package or directory containing files.

Once a library or resource is added, it is visible in the Libraries and Resources table, which reflects the order of the libraries and resources in the classpath. To change the order in the classpath, select the listing and click Move Up or Move Down. You can also remove libraries and resources from this page.

Each row in the table has a Package check box. If Package is checked, the library or resource is bundled and added to the project JAR file. If Package is not checked, the library or resource is copied to the /lib subdirectory at build time.