Manuals
/
Sun Microsystems
/
Power Tools
/
Tool Storage
Sun Microsystems
J2ME
manual
Index
Models:
J2ME
1
8
134
134
Download
134 pages
62.02 Kb
5
6
7
8
9
10
11
12
<
>
Install
Bluetooth
Configuring KToolbar
Accessing Documentation Online
Command Line Reference 103
Adjusting Emulator Performance
Project settings window
Storage and Cleaning
Using Web Services
Toolkit Features
Page 8
Image 8
C.4 Font Support in the Default Emulator 117
Index 119
viii
J2ME Wireless Toolkit User’s Guide • October 2004
Page 7
Page 9
Page 8
Image 8
Page 7
Page 9
Contents
User’s Guide
Please Recycle
Contents
Using the Emulator
Security and MIDlet Signing
Using the PIM and FileConnection APIs
Command Line Reference 103
Index
Related Documentation
Preface
Who Should Use This Book
How This Book Is Organized
Preface
We Welcome Your Comments
Accessing Documentation Online
Typographic Conventions
Introduction
Quick Start
Tools in the Toolkit
KToolbar window
Supported Technology
Toolkit Features
Supported JCP APIs in the J2ME Wireless Toolkit
Mmapi
Developing MIDlet Suites
About Projects
Creating a new project
Simple Development Cycle
Edit Source Code
Build
3 Run
Messages about building
List of project MIDlets
Full Development Cycle
Package
Install
Emulator AMS welcome screen
URL prompt
Application menu, again
Using an Obfuscator
Launching the installed application
Obfuscate.script.name scriptfile
Using a Debugger
Deploying Applications on a Web Server
From the command line, run
Working With Projects
Selecting APIs
Project settings window
Changing MIDlet Suite Attributes
Editing MIDlet suite attributes
Manipulating MIDlets
List of MIDlets in a project
Using the Push Registry
Project push registry settings
Project directory structure
Using Third-Party Libraries
Project Directory Structure
Third-Party Libraries for All Projects
Configuring KToolbar
Third-Party Libraries for One Project
Working with Revision Control Systems
Setting the Application Directory
Setting the javac Encoding Property
28 J2ME Wireless Toolkit User’s Guide October
Emulator skins
Using the Emulator
Emulator Skins
Using the Emulator
DefaultColorPhone emulator skin
Keyboard shortcuts
Setting Emulator Preferences
Network Proxies
Storage and Cleaning
Heap Size
Adjusting Emulator Performance
Choose Edit Preferences... and click on the Performance tab
Pausing and Resuming
Adjusting the emulator’s performance
Using Third Party Emulators
Running the Emulator Solo
Emulators
38 J2ME Wireless Toolkit User’s Guide October
Using the Profiler
Monitoring Applications
Turning on the profiler
Call Graph
Execution Time and Number of Calls
Using the Memory Monitor
Saving and Loading Profiler Information
You’ll see a table with the following columns
Using the Network Monitor
Saving and Loading Memory Monitor Information
Filtering Messages
Network monitor
Saving and Loading Network Monitor Information
Network monitor filter settings
Sorting Messages
Clearing the Message Tree
48 J2ME Wireless Toolkit User’s Guide October
Security and MIDlet Signing
Permissions
Protection Domains
MIDlet suite permissions
Signing a MIDlet Suite
Managing Keys
Creating a New Key Pair
Getting Real Keys
Creating a new key pair
Removing a Key Pair
Managing Certificates
Importing an Existing Key Pair
Importing Certificates
Certificate manager
Removing Certificates
Using the Wireless Messaging API
Setting Emulator Phone Numbers
Setting WMA preferences
Simulating an Unreliable Network
Sending Messages With the WMA Console
Sending a Text SMS Message
Sending a Binary SMS Message
Sending a text message
Sending Text or Binary CBS Messages
Sending a binary message
Sending MMS Messages
Sending CBS messages
Adding recipients for an MMS message
Using the Network Monitor with WMA
Receiving Messages in the WMA Console
Supported Mmapi media formats
Using the Mobile Media API
Supported Formats and Protocols
Well-Behaved MIDlets
Using MediaControlSkin
Media Capture
JSR 184 Overview
Immediate Mode
Working With Mobile 3D Graphics
Retained Mode
Trading Quality for Speed
Creating Mobile 3D Graphics Content
70 J2ME Wireless Toolkit User’s Guide October
Using the PIM and FileConnection APIs
FileConnection API
PIM API
Managing filesystem roots
Obex Over Infrared
Using the Bluetooth and Obex APIs
Bluetooth Simulation Environment
Setting Obex and Bluetooth Preferences
Obex Preferences
Bluetooth Discovery Timeout
Bluetooth System Properties
Bluetooth BCC Properties
BCC properties
76 J2ME Wireless Toolkit User’s Guide October
Using Web Services
Web services stub generator
78 J2ME Wireless Toolkit User’s Guide October
Application Demonstrations
Overview
\WTK22\apps\WMADemo\src\example\sms\SMSSend.java
Application demonstrations
General Instructions
KToolbar
BluetoothDemo
Opening a demonstration application project
Running the Bluetooth Demo server
Demo3D
Life3D
PogoRoo
Controls for Life3D
Retainedmode
Bouncing kangaroo
JSR172Demo
Mmademo
Simple Tones
Simple Player
Player commands
PausingAudioTest
Video
Descriptions of MMAPI-specific MIDlet attributes
ObexDemo
Attributes for mmademo
Waiting for an Obex connection
Prompting to accept a connection
PDAPDemo
Browsing Files
Contents of the root1 directory
PIM API
Choosing a list type
To actually save the list item, choose Commit from the menu
WMADemo
Saving an item
Sending a text message
Push registry springs to life
Addressing an MMS message
WMADemo receives the image
Development Cycle
Command Line Reference
Prerequisites
Preverify options files directories
Jar cfm MyApp.jar MANIFEST.MF -C classes . -C res
Run=storagename storagenumber
Debugging
Remove=storagename storagenumber all
Emulator Preferences Properties List
Toolkit component commands
Launching Toolkit GUI Components
Monitor Enable memory monitor
Using Security Features
Changing the Emulator’s Default Protection Domain
Signing MIDlet Suites
Managing Certificates
Options
Using the Stub Generator
Options for the wscompile Command
Command Supported Features -f for wscompile
Example
Locale Setting
Internationalization
Emulated Locale
Character Encodings
Font Support in the Default Emulator
Java Compiler Encoding Setting
118 J2ME Wireless Toolkit User’s Guide October
Index
Ktools.properties, 27 ktools.properties file
Index
122 J2ME Wireless Toolkit User’s Guide October
Top
Page
Image
Contents