User's Guide

J2ME Wireless Toolkit
Version 1.0.4

June 2002

Contents Previous Next Index



1. Introduction to the Wireless Toolkit


Compilation and Prefabrication

Running and Debugging


Packaging Obfuscated Source Code

2. Installing the Wireless Toolkit

System Requirements

Installation Procedure

Configuring the Palm OS Emulator

3. Operating with KToolBar

Navigating in KToolBar

KToolBar Projects

Creating a New Project

Opening an Existing Project

Editing MIDlet Suite Attributes

Modifying MIDlet Suite Attributes

Modifying MIDlet-Specific Attributes

Adding User-Defined Attributes

Removing User-Defined Attributes

Adding MIDlet-Specific Attributes

Removing MIDlet-Specific Attributes

Changing the Order of the MIDlets

Compiling and Preverifying



Cleaning Up Project Files


Implementing Support for Code Obfuscation

Using Class Libraries

External Libraries for a Specific Project

External Libraries for All Projects

Setting Emulator Preferences and Using Emulator Utilities

Customizing KToolBar

Setting the Application Directory

Setting the Javac Encoding Property

Working with Revision Control Systems

4. Performance Tuning Applications

Profiling Your Application

Profiling Data Display

Viewing Profiling Information

Saving Profiling Information

Examining Saved Information

Examining Memory Usage

Memory Monitor Data Display

Viewing Memory Usage

Saving Memory Usage Information

Examining Saved Information

Monitoring Network Traffic

Network Monitor Data Display

Viewing Network Traffic

Saving Message Information

Examining Saved Messages

Saving a Networking Session

Clearing the Message Tree

Filtering Messages

Disabling Filtering

Sorting Messages

Viewing Messages

Managing Device Speed

Setting Performance Parameters

Setting VM Speed Parameters

Setting Network Speed Parameters

5. Working With the Emulator

Example Devices

Device Characteristics

DefaultColorPhone and DefaultGrayPhone





Inputting Text

Using the Device to Input Text

Using the Keyboard to Input Text

Application Demos

Selecting a Default Device

Preferences and Utilities

Device Categories

DefaultEmulator Preferences

Setting the Web Proxy

Choosing an HTTP Version

Setting the Heap Size

Setting the RMS Directory

Enabling Tracing

DefaultEmulator Utilities

Cleaning Device Storage

Monitoring Memory Usage

Profiling Methods

Monitoring Network Traffic

PalmOSEmulator Preferences

Setting the Web Proxy

Setting the POSE Location

Showing the Heap Status

Saving Application Output

Enabling Double Buffering

Hiding the Soft Buttons

Setting the Graphics Depth

Showing the Keypad

PalmOSEmulator Utilities

Generating PRC Files

6. Operating From the Command Line

Preliminary Checks

Accessing Preferences and Utilities

Compiling Class Files




Preverifying Classes




Packaging a MIDlet suite

Creating a Manifest File

Creating an Application JAR File


Creating an Application JAD File


Running the Emulator

General Options

Running Options

Tracing and Debugging Options

Emulator Preferences Setting Option

Java Application Manager (JAM) Options


7. Testing Application Provisioning

Deploying Applications on a Web Server

Running a Remotely-Deployed Application Using the Java Application Manager (JAM)

A. MIDlet Attributes

B. MIDlet Demonstration

Demonstrating MIDlet Suites Deployed on a Local Disk

Demonstrating MIDlet Suites Deployed on a Web Site

C. Internationalization

Locale Setting for the Wireless Toolkit

Emulated Locale

Character Encodings

Java Compiler Encoding Setting

Font Support in the Default Emulator

D. Certificate Manager Utility




Contents Previous Next Index