Contents Previous Next Index

Preface


Creating MIDlet Suites describes how to create MIDlets and package them into MIDlet suites using the MIDP Reference Implementation. It is not a programming guide, so although it covers the required steps in MIDlet creation and discusses some interfaces, classes, and methods, it does not comprehensively cover the MIDP Reference Implementation APIs.

This guide assumes that you have already installed the product, as described in the Installing MIDP, and that you are familiar with both the Java™ programming language and the MIDP 2.0 Specification.

The Hello MIDlet is used as an example throughout this guide. The code for the Hello MIDlet is in the midpInstallDir\src\example directory, where midpInstallDir is the directory that holds your installation of the MIDP Reference Implementation. It is reproduced in Appendix A, “Code for the Hello MIDlet.”

How This Book Is Organized

This book has the following chapters:

Chapter 1 introduces MIDlets and the environments in which they run.

Chapter 2 describes the basics of creating a MIDlet.

Chapter 3 provides the steps to compile and preverify your MIDlet.

Chapter 4 shows you how to package your MIDlet.

Chapter 5 describes how to publish your MIDlet.

Chapter 6 describes how to run your MIDlet suite in a debugger and how to report problems.

Appendix A reproduces the example code for the Hello MIDlet.

Using Operating System Commands

This document may not contain information on basic UNIX® or Microsoft Windows commands and procedures such as opening a terminal window, changing directories, and setting environment variables. See the software documentation that you received with your system for this information.

Typographic Conventions

Typeface
Meaning
Examples
AaBbCc123
The names of commands, files, and directories; on-screen computer output
Edit your .login file.
Use ls -a to list all files.
% You have mail.
AaBbCc123
What you type, when contrasted with on-screen computer output
% su
Password:
AaBbCc123
Book titles, new words or terms, words to be emphasized
 
 
Command-line variable; replace with a real name or value
Read Chapter 6 in the User’s Guide.
These are called class options.
You must be superuser to do this.
 
To delete a file, type rm filename.

Shell Prompts

Shell
Prompt
C shell
%
Microsoft Windows
directory>

Related Documentation

The following documentation is included with this release:

Application
Title
All
Release Notes
Installing
Installing MIDP
Running and managing security for emulator
Using MIDP
Porting the MIDP Reference Implementation
Porting MIDP
Creating and building MIDlets
Creating MIDlet Suites
Viewing reference documentation created by the Javadoc™ tool
API Reference
Looking at examples
Example Overview

Accessing Sun Documentation Online

The Java Developer Connectionsm web site enables you to access Java platform technical documentation on the Web:

http://developer.java.sun.com/developer/infodocs/

Sun Welcomes Your Comments

We are interested in improving our documentation and welcome your comments and suggestions. You can email your comments to us at:

docs@java.sun.com

 


Contents Previous Next Index Creating MIDlet Suites
MIDP Reference Implementation, Version 2.0 FCS