J2ME Wireless Toolkit User's Guide

J2ME Wireless Toolkit
2.2

October 2004

 
Contents Previous Next Index

Contents


Preface

1. Introduction

1.1 Quick Start

1.2 The Tools in the Toolkit

1.3 Toolkit Features

1.4 Supported Technology

2. Developing MIDlet Suites

2.1 About Projects

2.2 The Simple Development Cycle

2.2.1 Edit Source Code

2.2.2 Build

2.2.3 Run

2.3 The Full Development Cycle

2.3.1 Package

2.3.2 Install

2.3.3 Run

2.4 Using an Obfuscator

2.5 Using a Debugger

2.6 Deploying Applications on a Web Server

3. Working With Projects

3.1 Selecting APIs

3.2 Changing MIDlet Suite Attributes

3.3 Manipulating MIDlets

3.4 Using the Push Registry

3.5 Project Directory Structure

3.6 Using Third-Party Libraries

3.6.1 Third-Party Libraries for One Project

3.6.2 Third-Party Libraries for All Projects

3.7 Configuring KToolbar

3.7.1 Setting the Application Directory

3.7.2 Setting the javac Encoding Property

3.7.3 Working with Revision Control Systems

4. Using the Emulator

4.1 Emulator Skins

4.2 Using the Emulator

4.3 Setting Emulator Preferences

4.3.1 Network Proxies

4.3.2 Heap Size

4.3.3 Storage and Cleaning

4.3.4 Adjusting Emulator Performance

4.4 Pausing and Resuming

4.5 Running the Emulator Solo

4.6 Using Third Party Emulators

5. Monitoring Applications

5.1 Using the Profiler

5.1.1 The Call Graph

5.1.2 Execution Time and Number of Calls

5.1.3 Saving and Loading Profiler Information

5.2 Using the Memory Monitor

5.2.1 Saving and Loading Memory Monitor Information

5.3 Using the Network Monitor

5.3.1 Filtering Messages

5.3.2 Sorting Messages

5.3.3 Saving and Loading Network Monitor Information

5.3.4 Clearing the Message Tree

6. Security and MIDlet Signing

6.1 Permissions

6.2 Protection Domains

6.3 Signing a MIDlet Suite

6.4 Managing Keys

6.4.1 Creating a New Key Pair

6.4.2 Getting Real Keys

6.4.3 Importing an Existing Key Pair

6.4.4 Removing a Key Pair

6.5 Managing Certificates

6.5.1 Importing Certificates

6.5.2 Removing Certificates

7. Using the Wireless Messaging API

7.1 Setting Emulator Phone Numbers

7.2 Simulating an Unreliable Network

7.3 Sending Messages With the WMA Console

7.3.1 Sending a Text SMS Message

7.3.2 Sending a Binary SMS Message

7.3.3 Sending Text or Binary CBS Messages

7.3.4 Sending MMS Messages

7.4 Receiving Messages in the WMA Console

7.5 Using the Network Monitor with WMA

8. Using the Mobile Media API

8.1 Supported Formats and Protocols

8.2 Using MediaControlSkin

8.3 Media Capture

8.4 Well-Behaved MIDlets

9. Working With Mobile 3D Graphics

9.1 JSR 184 Overview

9.2 Immediate Mode

9.3 Retained Mode

9.4 Trading Quality for Speed

9.5 Creating Mobile 3D Graphics Content

10. Using the PIM and FileConnection APIs

10.1 The FileConnection API

10.2 The PIM API

11. Using the Bluetooth and OBEX APIs

11.1 Bluetooth Simulation Environment

11.2 OBEX Over Infrared

11.3 Setting OBEX and Bluetooth Preferences

11.3.1 OBEX Preferences

11.3.2 Bluetooth Discovery Timeout

11.3.3 Bluetooth System Properties

11.3.4 Bluetooth BCC Properties

12. Using Web Services

A. Application Demonstrations

A.1 Overview

A.2 General Instructions

A.3 BluetoothDemo

A.4 Demo3D

A.4.1 Life3D

A.4.2 PogoRoo

A.4.3 retainedmode

A.5 JSR172Demo

A.6 mmademo

A.6.1 Simple Tones

A.6.2 Simple Player

A.6.3 PausingAudioTest

A.6.4 Video

A.6.5 Attributes for mmademo

A.7 ObexDemo

A.8 PDAPDemo

A.8.1 Browsing Files

A.8.2 The PIM API

A.9 WMADemo

B. Command Line Reference

B.1 Prerequisites

B.2 The Development Cycle

B.2.1 Build

B.2.2 Package

B.2.3 Run

B.2.4 Debugging

B.3 Launching Toolkit GUI Components

B.4 Setting Emulator Preferences

B.5 Using Security Features

B.5.1 Changing the Emulator’s Default Protection Domain

B.5.2 Signing MIDlet Suites

B.5.3 Managing Certificates

B.6 Using the Stub Generator

B.6.1 Options

B.6.1.1 Example

C. Internationalization

C.1 Locale Setting

C.2 Emulated Locale

C.3 Character Encodings

C.3.1 Java Compiler Encoding Setting

C.4 Font Support in the Default Emulator

Index

 


Contents Previous Next Index