Table of Contents
Table of Contents
Simplicity for Mobile Devices i
Table of Contents iii
CHAPTER 1 Installation
System
Java Virtual Machine
Minimum System Requirements
Suggested Minimum System Features
Installing
Windows (95/98/ME/NT/2000/XP)
Mac OS X
OS/2 Warp
Linux, Solaris, AIX, IRIX, SCO UnixWare, and Other Unix
Starting Simplicity for Mobile
ClassPath
Starting Simplicity for Mobile Devices
Platform Specific
OS/2 Warp
Linux
Mac OS 8.x, 9.x
Solaris
SCO UnixWare
The Personal Settings
Linux, Solaris, SCO UnixWare, and other Unix
Windows, MacOS, and OS/2
Files in the Personal Settings Directory
Technical Support and
Technical Support
Feedback
CHAPTER 2 Tutorial 1 - Introduction to Simplicity
A Simple To Do
Open a project
Create a new MIDlet
Create the items list
Create the Add screen
Adding commands
Completing the program
Packaging the MIDlet
CHAPTER 3 Tutorial 2 - Persistence in the To Do List
Improving the To Do
Open a project
Copy an existing MIDlet
Add Persistence
Completing the program
Packaging the MIDlet
CHAPTER 4 Integrated Design Environment
The IDE
The Classpath
The Folders area
Using the Classpath and the Folders area
Project Groups
Editing parts of the Project
Editing Groups using the IDE Group Editor
Editing The Classpath
Editing The Folders area
Opening items in the Group Contents Box
IDE Menu
IDE Button Bar
File Menu
Edit Menu
Create Menu
Import Menu
Project Menu
Help Menu
Program
Directories
External Editors
Java Editor
Printing
CHAPTER 5 The MIDlet Composer
Creating a New
The MIDlet Composer
Details of the MIDlet
Parts of a MIDlet Composer.
MIDlet
Workspace
File Menu
MIDlet Menu
Parts Menu
CHAPTER 6 Object Palette
Assembling A Program Using The Mobile Devices
Mobile Devices Palette
Object Palette Pages
Displayables
Alert
TextBox
List
Form
Canvas
Form
StringItem
ChoiceGroup
DateField
Gauge
ImageItem
TextField
ChoiceElements
ChoiceElement
Commands
Command
CHAPTER 7 MID Emulator
The MID
MID Emulator
Emulator
MIDlet Status
MIDlet Configuration
Load MIDlets
Edit MicroEdition Properties
Using the MID
Using the MID Emulator with a MIDlet
CHAPTER 8 Generating Applications for the MID Profile
Compile against the J2ME/CLDC/MIDP
Build a Jar
Choose MIDlets
Set Dependencies
Set Suite Properties
Add Resources
Build the Jar and Jad files
Test the Jar and Jad files
Load classes onto the Mobile
CHAPTER 9 Connection Protocols
CLDC
Supported
http
https
datagram
socket
serversocket
comm
ssl
clipboard
CHAPTER 10 Code Sourcerer
Using the Code
Change a property of an existing part
Ask a part about one of its properties
RMS data storage operations
Screen Painting
Canvas Methods
Network operations
MIDlet control operations
Perform floating point computations
Declare a new variable
Java system operations
Miscellaneous
Java Language statements
CHAPTER 11 Java Source Code Editor
Editing
File Menu
Edit Menu
Indentation Features
Color and Printing Features
Search & Replace
The Sourcerer's Apprentice
CHAPTER 12 Java Command Window
Using The Java Command
Command Input
Local Symbol Table
Command History
The Three Java Command Window
IDE
Composer
Debugger
CHAPTER 13 Debugger
Starting the
The Debugger
Available classes and methods
Breakpoints
Threads
Execution Stack
Source Viewer
Variables List
Command Buttons
Java Command Window
Load classes
CHAPTER 14 Advanced Features - Extending the IDE
Extending the
The IDEmenu.config file
MenuBar
Menu
MenuItem
Separator
Action
Samples of the extended
Adding a command to the help menu
Adding a new action
Modifying existing actions
A Complex Action
Index 109
Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com