Before You Begin |
This document provides a tutorial for the Sun Open Net Environment (Sun ONE) Studio 4 update 1, Mobile Edition integrated development environment (IDE). It is meant for those readers learning the IDE. Topics covered in the tutorial include:
See the release notes for a list of environments in which you can create the examples in this book. The release notes are available on this web page:
http://forte.sun.com/ffj/documentation/index.html
Screen shots vary slightly from one platform to another. You should have no trouble translating the slight differences to your platform. Although almost all procedures use the interface of the Sun ONE Studio 4 software, occasionally you might be instructed to enter a command at the command line. Here too, there are slight differences from one platform to another. For example, a Microsoft Windows command might look like this:
c:>cd MyWorkDir\MyPackage |
To translate for UNIX® or Linux environments, simply change the prompt and use forward slashes:
% cd MyWorkDir/MyPackage |
This tutorial creates an application that conforms to the architecture of the Java 2 Platform, Micro Edition (J2ME
platform). The application is also compliant with the Connected, Limited Device Configuration (CLDC) and Mobile Information Device Profile (MIDP) standards. By working through tasks that create, develop, and deploy a J2ME compliant application, you will learn the major features of the Sun ONE Studio 4, Mobile Edition software.
Before starting, you should be familiar with the following subjects:
A knowledge of MIDP and CLDC concepts is helpful, as described in the following resources:
Chapter 1 provides the information necessary to set up the Sun ONE Studio 4, Mobile Edition and to use the Mobile Edition IDE to create and test a MIDlet and a MIDlet suites.
Chapter 2 describes how to debug a MIDlet application using the Mobile Edition IDE's debugger.
Chapter 3 discusses advanced issues, including Over-the-Air support and working with projects.
Appendix A provides the source code for the ConverterMIDlet application and its Java classes.
The names of commands, files, and directories; on-screen computer output |
||
What you type, when contrasted with on-screen computer output |
||
Read Chapter 6 in the User's Guide. |
||
Sun ONE Studio 4 documentation includes books delivered in Acrobat Reader (PDF) format, release notes, online help, readme files for example applications, and Javadoc documentation.
The documents described in this section are available from the docs.sun.comSM web site and from the documentation page of the Sun ONE Studio Developer Resources portal (http://forte.sun.com/ffj/documentation).
The docs.sun.com web site (http://docs.sun.com) enables you to read, print, and buy Sun Microsystems manuals through the Internet. If you cannot find a manual, see the documentation index installed with the product on your local system or network.
You can also find the completed tutorial applications at: http://forte.sun.com/ffj/documentation/tutorialsandexamples.html
Online help is available inside the Sun ONE Studio 4 IDE. You can open help by pressing the help key (F1 in Microsoft Windows and Linux environments, Help key in the Solaris environment), or by choosing Help Contents. Either action displays a list of help topics and a search facility.
You can download examples that illustrate a particular Sun ONE Studio 4 feature, as well as completed tutorial applications, from the Sun ONE Studio Developer Resources portal at:
http://forte.sun.com/ffj/documentation/tutorialsandexamples.html
The site includes the applications used in this document.
Javadoc documentation is available within the IDE for many Sun ONE Studio 4 modules. Refer to the release notes for instructions on installing this documentation. When you start the IDE, you can access this Javadoc documentation within the Javadoc pane of the Explorer.
Sun is interested in improving its documentation and welcomes your comments and suggestions. Email your comments to Sun at this address:
Please include the part number (816-7873-10) of your document in the subject line of your email.
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.