Contents Previous Next Index

Preface


Porting MIDP describes how to port the MIDP Reference Implementation to a mobile device. By the end of chapter two you should have a simple, although perhaps not entirely functional, port of the MIDP Reference Implementation. It will not be tailored for your device. The remaining chapters will help you make your port fully functional and customized for your device. The chapters typically include details of how to port any native code associated with a module (such as persistent storage, or the audio building block) and suggestions for customizing it.

Because this guide includes customization information, Porting MIDP could be useful for optimizing a MIDP implementation for increased speed or decreased footprint, as well as being useful for porting. The organization of the guide, however, reflects the tasks for porting MIDP to a new device.

This guide assumes that you have already installed the product, as described in Installing MIDP, and that you are familiar with the MIDP 2.0 Specification. You can download the specification from http://jcp.org/jsr/detail/118.jsp.

How This Book Is Organized

This book has the following chapters:

Chapter 1 introduces MIDP and its architecture, and the high-level requirements for porting MIDP to a new device.

Chapter 2 describes the first steps in porting MIDP to a new platform.

Chapter 3 describes the event model.

Chapter 4 gives you information on porting the persistent storage module, the record management system (RMS)

Chapter 5 gives advice on making a port of the user-interface thread-safe.

Chapter 6 covers some topics in porting the MIDP user-interface, including the game package.

Chapter 7 discusses the security functionality of the MIDP Reference Implementation.

Chapter 8 discusses porting the MIDP network protocols.

Chapter 9 gives you information on porting the persistent storage module, the application management system (AMS).

Chapter 10 discusses porting the push functionality of MIDP.

Chapter 11 describes porting the audio building block.

Chapter 12 describes how to build MIDP.

Appendix A lists the targets in the build environment.

Appendix B lists the configuration options in the build environment.

Appendix C is the reference documentation generated by the Javadoc ™ tool for the com.sun.midp.ssl package.

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

In addition, you might find the following documentation helpful:

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 Porting MIDP
MIDP Reference Implementation, Version 2.0 FCS