Kim Topley9780596002534, 059600253X
Table of contents :
Cover……Page 1
Table of Contents……Page 3
Contents of This Book……Page 8
Related Books……Page 10
J2ME Programming Resources Online……Page 11
Conventions Used in This Book……Page 12
Acknowledgments……Page 13
I: Introduction to the Java 2 Micro Edition Platform API……Page 15
1.1 What Is the J2ME Platform?……Page 16
1.3 J2ME and Other Java Platforms……Page 21
2.1 The CLDC Java Virtual Machine……Page 23
2.2 The CLDC Class Libraries……Page 31
2.3 KVM Debugging……Page 39
2.4 Advanced KVM Topics……Page 44
3.1 MIDP Overview……Page 54
3.3 MIDlets and MIDlet Suites……Page 58
3.4 MIDlet Execution Environment and Lifecycle……Page 64
3.5 Developing MIDlets……Page 69
3.6 Delivery and Installation of MIDlets……Page 83
4.1 User Interface Overview……Page 91
4.2 The High-Level User Interface API……Page 95
5.1 The Canvas Class……Page 146
5.2 Painting and the Graphics Class……Page 150
5.3 Graphics Attributes……Page 151
5.4 Drawing Lines and Arcs……Page 154
5.5 Translating the Graphics Origin……Page 160
5.6 A Simple Animation MIDlet……Page 162
5.7 The Graphics Clip……Page 165
5.8 Rendering Text……Page 168
5.9 Images……Page 173
5.10 Event Handling……Page 178
5.11 Multithreading and the User Interface……Page 183
6.1 A Networking Architecture for Small Devices……Page 186
6.2 Sockets……Page 190
6.3 Datagrams……Page 194
6.4 HTTP Connections……Page 199
6.5 Persistent Storage……Page 214
7.1 The CDC……Page 234
8.1 cvm: The Connected Device Configuration Virtual Machine……Page 246
8.2 kdp: The KVM Debug Proxy……Page 251
8.3 kvm: The Kilobyte Virtual Machine……Page 253
8.4 midp: The MID Profile Execution Environment……Page 257
8.5 emulator: The J2ME Wireless Toolkit Emulator……Page 261
8.6 preverify: The KVM Class Preverifier……Page 265
8.7 MakeMIDPApp: JAD to PRC Conversion Tool……Page 268
8.8 chMEKeyTool: Public Key Certificate Management Tool……Page 271
9.1 The J2ME Wireless Toolkit……Page 274
9.2 MIDP for PalmOS……Page 288
9.3 J2ME and Forte For Java……Page 298
9.4 Other Integrated Development Environments……Page 303
II: API Quick Reference……Page 305
10.1 J2ME Packages……Page 315
10.2 J2SE Packages Not Present in J2ME……Page 316
10.3 J2ME Package Contents……Page 317
ByteArrayInputStream……Page 332
DataInput……Page 334
DataInputStream……Page 335
DataOutput……Page 336
DataOutputStream……Page 337
EOFException……Page 338
InputStream……Page 339
InputStreamReader……Page 340
IOException……Page 341
OutputStream……Page 342
OutputStreamWriter……Page 343
PrintStream……Page 344
Reader……Page 345
Writer……Page 346
Package java.lang……Page 348
ArithmeticException……Page 349
Boolean……Page 350
Byte……Page 351
Character……Page 352
Class……Page 353
ClassNotFoundException……Page 354
Exception……Page 355
IllegalArgumentException……Page 356
IllegalStateException……Page 357
IndexOutOfBoundsException……Page 358
Integer……Page 359
InterruptedException……Page 360
Long……Page 361
NegativeArraySizeException……Page 362
Object……Page 363
Runnable……Page 365
RuntimeException……Page 366
Short……Page 367
String……Page 368
StringBuffer……Page 370
StringIndexOutOfBoundsException……Page 372
System……Page 373
Thread……Page 374
Throwable……Page 375
VirtualMachineError……Page 376
Package java.util……Page 377
Calendar……Page 378
Date……Page 380
Enumeration……Page 381
Hashtable……Page 382
Random……Page 383
Stack……Page 384
Timer……Page 385
TimeZone……Page 386
Vector……Page 387
Package javax.microedition.io……Page 390
Connection……Page 391
Connector……Page 392
ContentConnection……Page 394
Datagram……Page 395
DatagramConnection……Page 396
HttpConnection……Page 398
InputConnection……Page 400
StreamConnection……Page 401
StreamConnectionNotifier……Page 402
Package javax.microedition.lcdui……Page 403
Alert……Page 405
AlertType……Page 406
Canvas……Page 407
Choice……Page 409
ChoiceGroup……Page 411
Command……Page 412
DateField……Page 414
Display……Page 415
Displayable……Page 416
Font……Page 417
Form……Page 419
Gauge……Page 420
Graphics……Page 421
Image……Page 424
ImageItems……Page 425
Item……Page 426
ItemStateListener……Page 427
List……Page 428
Screen……Page 429
StringItem……Page 430
TextField……Page 431
Ticker……Page 434
MIDlet……Page 435
MIDletStateChangeException……Page 437
InvalidRecordIDException……Page 439
RecordComparator……Page 440
RecordEnumeration……Page 441
RecordFilter……Page 443
RecordListener……Page 444
RecordStore……Page 445
RecordStoreFullException……Page 448
RecordStoreNotOpenException……Page 449
A……Page 450
B……Page 452
C……Page 454
D……Page 458
E……Page 462
F……Page 465
G……Page 467
H……Page 478
I……Page 484
K……Page 490
L……Page 492
M……Page 494
N……Page 497
O……Page 499
P……Page 501
R……Page 504
S……Page 509
T……Page 519
U……Page 522
W……Page 523
Y……Page 525
Colophon……Page 526
Reviews
There are no reviews yet.