Home
Sun Microsystems
Software
J2ME
Sun Microsystems J2ME User Manual
5
of 1
of 1 rating
134 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
Chapter 7
Using the Wireless Messaging API
63
FIGURE
34
Adding
recipients
for
an
MMS
message
T
o
add
media
files
to
the
message,
click
on
the
Parts
tab.
Click
on
Add
to
add
a
part
to
the
message.
T
o
remove
a
part,
select
it
and
press
Remove
.
FIGURE
35
Adding
parts
to
an
MMS
message
74
76
Table of Contents
Default Chapter
3
Default Chapter
3
Table of Contents
3
Preface
9
1 Introduction
13
Quick Start
13
The Tools in the Toolkit
14
Toolkit Features
15
Supported Technology
15
2 Developing Midlet Suites
17
About Projects
17
The Simple Development Cycle
19
Edit Source Code
19
Build
20
Run
21
The Full Development Cycle
23
Package
23
Install
24
Run
26
Using an Obfuscator
27
Using a Debugger
29
Deploying Applications on a Web Server
29
3 Working with Projects
31
Selecting Apis
31
Changing Midlet Suite Attributes
33
Manipulating Midlets
35
Using the Push Registry
36
Project Directory Structure
37
Using Third-Party Libraries
37
Third-Party Libraries for One Project
38
Third-Party Libraries for All Projects
38
Configuring Ktoolbar
38
Setting the Application Directory
39
Setting the Javac Encoding Property
39
Working with Revision Control Systems
39
4 Using the Emulator
41
Emulator Skins
41
Using the Emulator
42
Setting Emulator Preferences
44
Network Proxies
44
Heap Size
45
Storage and Cleaning
45
Adjusting Emulator Performance
46
Pausing and Resuming
47
Running the Emulator solo
48
Using Third Party Emulators
48
5 Monitoring Applications
51
Using the Profiler
51
The Call Graph
53
Execution Time and Number of Calls
53
Saving and Loading Profiler Information
54
Using the Memory Monitor
54
Saving and Loading Memory Monitor Information
56
Using the Network Monitor
56
Filtering Messages
57
Sorting Messages
58
Saving and Loading Network Monitor Information
58
Clearing the Message Tree
59
6 Security and Midlet Signing
61
Permissions
61
Protection Domains
62
Signing a Midlet Suite
63
Managing Keys
64
Creating a New Key Pair
64
Getting Real Keys
65
Importing an Existing Key Pair
66
Removing a Key Pair
66
Managing Certificates
66
Importing Certificates
67
Removing Certificates
68
7 Using the Wireless Messaging API
69
Setting Emulator Phone Numbers
69
Simulating an Unreliable Network
70
Sending Messages with the WMA Console
71
Sending a Text SMS Message
71
Sending a Binary SMS Message
72
Sending Text or Binary CBS Messages
73
Sending MMS Messages
74
Receiving Messages in the WMA Console
76
Using the Network Monitor with WMA
76
8 Using the Mobile Media API
77
Supported Formats and Protocols
77
Using Mediacontrolskin
78
Media Capture
78
Well-Behaved Midlets
78
9 Working with Mobile 3D Graphics
79
JSR 184 Overview
79
Immediate Mode
79
Retained Mode
80
Trading Quality for Speed
80
Creating Mobile 3D Graphics Content
81
10 Using the PIM and Fileconnection Apis
83
The Fileconnection API
83
The PIM API
84
11 Using the Bluetooth and OBEX Apis
85
Bluetooth Simulation Environment
85
OBEX over Infrared
85
Setting OBEX and Bluetooth Preferences
86
OBEX Preferences
86
Bluetooth Discovery Timeout
87
Bluetooth System Properties
87
Bluetooth BCC Properties
87
12 Using Web Services
89
Application Demonstrations
91
Overview
91
General Instructions
93
Bluetoothdemo
94
Demo3D
96
Life3D
96
Pogoroo
97
Retainedmode
98
Jsr172Demo
99
Mmademo
99
Simple Tones
100
Simple Player
100
Pausingaudiotest
102
A.6.4 Video
102
Attributes for Mmademo
103
Obexdemo
103
Pdapdemo
106
Browsing Files
106
The PIM API
108
Wmademo
110
Command Line Reference
115
Prerequisites
115
The Development Cycle
115
Build
116
Package
117
Run
118
Debugging
119
Launching Toolkit GUI Components
120
Setting Emulator Preferences
120
Using Security Features
122
Changing the Emulator's Default Protection Domain
122
Signing Midlet Suites
123
Managing Certificates
124
Using the Stub Generator
125
Options
125
Example
126
Internationalization
127
Locale Setting
127
Emulated Locale
128
Character Encodings
128
Java Compiler Encoding Setting
129
5
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the Sun Microsystems J2ME and is the answer not in the manual?
Ask a question
Sun Microsystems J2ME Specifications
General
Brand
Sun Microsystems
Model
J2ME
Category
Software
Language
English