| Optional APIs Porting Guide
|
    |
This guide describes how to port Sun Java Wireless Client Software 2.0 to your mobile device.
Before You Read This Book
To fully use the information in this document, you must have thorough knowledge of the topics discussed in these books:
- CLDC 1.1 Specification
- MIDP 2.0 Specification
- JTWI Specification
- CLDC HotSpot
Implementation Porting Guide
- Skin Author's Guide to Adaptive User Interface Technology
- Scalable 2D Vector Graphics API for J2ME Specification
- Wireless Messaging API 2.0 Specification
- Mobile 3D Graphics API for J2ME Specification
- Mobile Media API Specification
- Java APIs for Bluetooth Specification
- PDA Optional Packages for the J2ME Platform Specification
- J2ME Web Services Specification
- Security and Trust Services API for J2ME Specification
How This Book Is Organized
This book contains the following chapters and appendices:
Chapter 1 contains a brief description of the rest of the book.
Chapter 2 describes porting the Wireless Messaging API defined by JSR 120 and JSR 205.
Chapter 3 explains how to port the JSR 135 Mobile Media API.
Chapter 4 covers porting the JSR 177 Security and Trust Services API.
Chapter 5 discusses porting the JSR 211 Content Handler API.
Chapter 6 describes porting the JSR 239 OpenGL ES API.
Using Operating System Commands
This document does not contain information on basic UNIX® operating system 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
TABLE P-1
|
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
TABLE P-2
|
Shell
|
Prompt
|
|
C shell
|
%
|
Related Documentation
The following documentation is included with this release:
TABLE P-3
|
Application
|
Title
|
|
All
|
Release Notes
|
|
Building Java Wireless Client software
|
Build Guide
|
|
Porting Java Wireless Client software
|
This book
|
|
Viewing reference documentation created by the Javadoc tool
|
Java API Reference
|
|
Viewing reference documentation created by the Doxygen tool
|
Native API Reference
|
In addition, you might find the following documentation helpful:
- The Java Language Specification (Java Series), Second Edition by James Gosling, Bill Joy, Guy Steele and Gilad Bracha. Addison-Wesley, 2000,
http://java.sun.com/docs/books/jls/index.html.
- The Java Specification Request (JSR), (J2ME Connected, Limited Device Configuration) at http://jcp.org/jsr/detail/30.jsp (JSR 30)
- Mobile Information Device Profile 2.0, at
http://jcp.org/jsr/detail/118.jsp (JSR 118)
- Java Technology for the Wireless Industry, at
http://jcp.org/jsr/detail/185.jsp (JSR 185)
- A full list of JSRs for the Java ME platform, available at
http://jcp.org/jsr/tech/j2me.jsp
- KVM Debug Wire Protocol (KDWP) Specification, Sun Microsystems, Inc., available as part of the CLDC (Connected Limited Device Configuration) download package.
Accessing Sun Documentation Online
The Source for Java Developers web site enables you to access Java platform technical documentation on the web at
http://java.sun.com/reference/docs/index.html.
Sun Welcomes Your Comments
We are interested in improving our documentation and welcome your comments and suggestions. Provide feedback to Sun at http://developers.sun.com/contact/feedback.jsp?&category=j2me.
| Optional APIs Porting Guide
|
05-2007
|
    |
Copyright © 2007, Sun Microsystems, Inc. All rights reserved. SUN PROPRIETARY/CONFIDENTIAL.