Cover image for Instant wireless Java with J2ME
Title:
Instant wireless Java with J2ME
Personal Author:
Publication Information:
Berkeley, Calif. : McGraw-Hill/Osborne, 2002
Physical Description:
1v + 1 CD-ROM (CP 4129)
ISBN:
9780072191752

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010037245 QA76.73.J38 T73 2002 Open Access Book Book
Searching...

On Order

Summary

Summary

Now you can get up to speed on the technology all the major wireless players--Palm, Handspring, RIM (Blackberry), Nokia, and Sony--are implementing with this hands-on resource. Ideal for developers, this thorough and precise book addresses Java support to consumer and embedded wireless devices, including mobile phones, pagers, PDAs, digital television setup boxes, and much more.


Reviews 1

Library Journal Review

Wireless designers face the challenge of achieving their vision in the limited environment offered by devices like cell phones and PDAs. Recommended for all public libraries, Usability Handbook modifies advice found in web usability guides (see Computer Media, LJ 5/1/02) for the wireless environment, focusing on how wireless devices work and how best to design for them. Chapter summaries and discussion questions aid understanding; the CD-ROM includes WAP (Wireless Application Protocol) emulators and templates. Larger public libraries can consider the next two guides: for beginning wireless developers, WAP 2.0 discusses developing with WAP, then moves on to more advanced topics such as WMLScript, ASP, and connecting to databases. For more advanced developers, Wireless Java teaches wireless application development through step-by-step examples. The CD-ROM contains sample code. (c) Copyright 2010. Library Journals LLC, a wholly owned subsidiary of Media Source, Inc. No redistribution permitted.


Table of Contents

Acknowledgmentsp. xvii
Introductionp. xix
Chapter 1 Our First MIDIetp. 1
Hello MIDP!p. 2
Deploying the Application Using the J2ME Wireless Toolkitp. 4
Using the J2ME Wireless Toolkit with Forte CEp. 15
Chapter 2 Dynamic Contentp. 29
Comparing Implementations of the Date Classp. 30
The Calendar Classp. 34
The TimeZone Classp. 39
Chapter 3 Command and CommandListenerp. 45
A Second Version of Hello Worldp. 46
Running the Second Version of Hello Worldp. 48
Running Using Different Emulatorsp. 49
Establishing the Mind-set Required to Work with LCDUIp. 54
The Command Classp. 55
CommandListenerp. 57
Chapter 4 Using Random Numbersp. 65
Interchangeability Between J2SE and MIDPp. 66
Generating Lottery Numbersp. 70
Chapter 5 User Interaction Using the MIDP APIp. 75
A Closer Look at TextBoxp. 76
The Form Classp. 82
Adding Components to a Formp. 83
KMath Sourcep. 100
Chapter 6 Advanced UI Componentsp. 119
The DateField Itemp. 120
The Gauge Itemp. 130
The ItemStateListener Interfacep. 138
Chapter 7 Using Graphics in MIDLetsp. 145
Portable Network Graphicsp. 146
MIDP Support for PNGp. 150
Associating Images with MIDLetsp. 150
Including Images in a ChoiceGroupp. 159
Chapter 8 User Notificationp. 169
The Alert Classp. 170
The AlertType Classp. 178
Chapter 9 The Ticker Classp. 187
A Simple Tickerp. 188
The Continuous Nature of a Tickerp. 191
The Shared Ticker Modelp. 196
The Ticker-per-Screen Modelp. 200
Changing a Ticker's Contentp. 205
Chapter 10 Persistent Datap. 213
The RecordStore Classp. 214
RecordStoreDemo Source Codep. 242
Chapter 11 The Record Store as a Portable Logp. 265
Tracking Fuel Consumptionp. 266
Chapter 12 Simple Networkingp. 279
The Generic Connection Frameworkp. 280
Querying a Daytime Serverp. 282
Chapter 13 Communicating Over a Socketp. 291
Checking the Status of an Orderp. 292
Querying a Skills Databasep. 306
Obtaining Photos from a Serverp. 318
Chapter 14 The Detached Officep. 333
Taking Part of the Office with Youp. 334
Code for the Detached Officep. 341
Chapter 15 Advanced Networkingp. 361
The HttpConnection Interfacep. 362
Local Weatherp. 364
Using HttpConnection to Query a Skills Databasep. 374
Order Statusp. 385
Signature Verifierp. 393
Chapter 16 Login and MD5p. 401
A Simple Loginp. 402
Protecting the Password Using MD5p. 413
The J2ME Version of the MD5 Algorithmp. 431
Chapter 17 A Message-Forwarding Applicationp. 441
A Minimally Secure Messaging Applicationp. 442
Enigma Codep. 484
In Conclusionp. 490
Appendix A Installing Prerequisite Softwarep. 491
Forte For Java Community Editionp. 492
Java 2 Microedition Wireless Toolkitp. 492
Palm OS Emulator (POSEp. 493
MySQL Relational Database Management Systemp. 493
JDBC Driver For mySQLp. 493
Apache Web Serverp. 493
Tomcat Servlet Containerp. 494
mod_jkp. 494
Software From The CDp. 494
Appendix B The MIDP APIp. 497
Package java.iop. 498
Package java.langp. 505
Package java.utilp. 514
Package javax.microedition.iop. 519
Package javax.microedition.lcduip. 523
Package javax.microedition.midletp. 535
Package javax.microedition.rmsp. 536
Class RecordStorep. 537
Indexp. 539