User's Guide

Java™ 2 Platform, Micro Edition, Wireless Toolkit
Version 2.1

December 2003

 
Contents Previous Next Index

Contents


Preface

1. Introduction to the Wireless Toolkit

Overview of Java Technology for the Wireless Industry

Related Documentation

Features of the Wireless Toolkit

Compiling, Preverifying, and Debugging

Packaging

Running MIDlet Suites

Authenticating and Authorizing MIDlets

Performance Tuning

Memory and Network Monitoring

Working With the Emulator

Internationalization Features of the Wireless Toolkit

Providing Access to J2ME Web Services

Operating From the Command-Line

Application Demos

2. Developing and Running Applications

Developing Applications

Running Applications Remotely

Packaging

Signing MIDlet Suites

Running in OTA Provisioning Mode

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 User-Defined Attributes

Adding User-Defined Attributes

Removing User-Defined Attributes

Modifying MIDlet-Specific Attributes

Adding MIDlet-Specific Attributes

Removing MIDlet-Specific Attributes

Adding MIDlets

Changing the Order of the MIDlets

Adding a Push Registry

Adding API Permissions

Removing API Permissions

Compiling and Preverifying a Project

Running a Project Locally

Debugging

Cleaning Up Project Files

Packaging

Obtaining a ByteCode Obfuscator

Signing MIDlet Suites From KToolbar

Running in OTA Provisioning Mode

Using Class Libraries

External Libraries for a Specific Project

External Libraries for All Projects

Using the Stub Connector to Access J2ME Web Services

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 and Monitoring Applications

Profiling Your Application

Viewing Profiling Information

Profiling Data Display

Saving and Examining Profiling Information

Examining Memory Usage

Viewing Memory Usage

Memory Monitor Data Display

Saving and Examining Memory Usage Information

Monitoring Network Traffic

Viewing Network Traffic

Network Monitor Data Displays

Filtering Messages

Disabling Filtering

Sorting Messages

Saving and Examining a Networking Session

Clearing the Message Tree

Managing Device Speed

Setting Graphics Performance

Setting VM Speed Parameters

Setting Network Speed Parameters

5. Working With the Emulator

Example Devices

Device Characteristics

Pausing and Resuming a MIDlet

DefaultColorPhone and DefaultGrayPhone

MediaControlSkin

QwertyDevice

Inputting Text

Using the Device to Input Text

Preferences and Utilities

DefaultEmulator Preferences

Setting the Web Proxy

Choosing an HTTP Version

Setting Performance Parameters

Enabling Monitoring and Tracing

Setting the Heap Size

Setting the Storage Directory

Setting WMA Parameters

Setting Optional Multimedia Formats and Features

Specifying a Security Domain Type

DefaultEmulator Utilities

Cleaning Device Storage

Monitoring Memory Usage

Monitoring Network Traffic

Profiling Methods

Wireless Messaging

Signing MIDlet Suites and Managing Certificates

Using a Stub Connector to Access Web Services

6. Using Security Features in the Wireless Toolkit

Signing MIDlet Suites

Creating a New Key Pair and Signing a MIDlet Suite

Importing a Key Pair and Signing the MIDlet Suite

Deleting an Alias

Managing Default Emulator Certificates

Viewing Certificates

Importing Certificates

Importing From the J2SE Keystore

Importing From a Certificate Authority

Managing Certificates in Other Keystores

Deleting Certificates

7. Wireless Messaging with the Wireless Toolkit

Getting Started With WMA Emulation

Sending a Text SMS Message From the WMA Console

Sending a Binary SMS Message

Sending a CBS Message

Setting WMA Preferences

8. Testing Application Provisioning

Deploying Applications on a Web Server

Deploying Applications Remotely

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. Command Line Utilities

Preliminary Checks

Selecting a Default Device

Accessing Preferences and Utilities

Using the Stub Generator

Options

Example

Compiling Class Files

Arguments

Options

Example

Preverifying Classes

Arguments

Options

Example

Packaging a MIDlet suite

Creating a Manifest File

Creating an Application JAR File

Arguments

Creating an Application JAD File

Example

Running the Emulator

General Options

Running Options

Tracing and Debugging Options

Emulator Preferences Setting Option

Emulator Domain Setting Option

Certificate Manager Utility

Usage

Commands

MIDlet Suite Signing Utility

Usage

Commands

Index

 


Contents Previous Next Index