站内搜索: 请输入搜索关键词
当前页面: 图书首页 > Wireless Java Developing with J2ME, Second Edition

List of Figures - Wireless Java Developing with J2ME, Second Edition

Previous Section Next Section

List of Figures

Chapter 1: Introduction

Figure 1-1: The J2ME universe
Figure 1-2: MIDP packages
Figure 1-3: MIDP software components

Chapter 2: Building MIDlets

Figure 2-1: Creating a new project with the J2ME Wireless Toolkit
Figure 2-2: Buttons on the J2ME Wireless Toolkit emulator
Figure 2-3: Jargoneer's TextBox
Figure 2-4: Jargoneer architecture
Figure 2-5: A cleaner architecture for Jargoneer

Chapter 3: All About MIDlets

Figure 3-1: MIDlet life cycle
Figure 3-2: Anatomy of a MIDlet suite

Chapter 5: Creating a User Interface

Figure 5-1: Displayables in the javax.microedition.lcdui and javax.microedition.lcdui.game package
Figure 5-2: The four children of Screen— (a) TextBox, (b) Alert, (c) List, and (d) Form
Figure 5-3: A simple MIDlet with a single command, Exit
Figure 5-4: This MIDlet has more commands than the device has soft buttons. Invoking the (a) system-generated Menu command brings up the (b) remaining commands.
Figure 5-5: A ticker scrolls across the top of a screen.
Figure 5-6: Alerts are similar to modal dialogs in a desktop windowing system.

Chapter 6: Lists and Forms

Figure 6-1: List types— (a) EXCLUSIVE and (b) MULTIPLE
Figure 6-2: IMPLICIT lists combine selection and confirmation.
Figure 6-3: Item "three" has a command.
Figure 6-4: When an item is selected, its commands are shown.
Figure 6-5: Form layout example
Figure 6-6: A form with a single StringItem and a Back command
Figure 6-7: A form with a single TextField and a Back command
Figure 6-8: An ImageItem
Figure 6-9: DateField in Sun's MIDP 2.0 emulator
Figure 6-10: A Gauge
Figure 6-11: Three kinds of Gauges in MIDP 2.0
Figure 6-12: ChoiceGroup examples— (a) MULTIPLE, (b) EXCLUSIVE and (c) POPUP

Chapter 7: Custom Items

Figure 7-1: A simple custom item
Figure 7-2: The focus is on the third item in this form.
Figure 7-3: Form traversal and internal item traversal
Figure 7-4: StationSign in action in a Form

Chapter 8: Persistent Storage

Figure 8-1: Record stores belong to MIDlet suites.
Figure 8-2: Inside a RecordStore

Chapter 9: Connecting to the World

Figure 9-1: The Connection family tree
Figure 9-2: The HttpConnection interface
Figure 9-3: The ImageLoader example
Figure 9-4: The DatagramConnection interface
Figure 9-5: The push registry entry for PatchyMIDlet
Figure 9-6: PatchyMIDlet, a small web server
Figure 9-7: The emulator asks for the user's permission for network connections.

Chapter 10: Programming a Custom User Interface

Figure 10-1: Canvas coordinate axes
Figure 10-2: Playing around with Graphics
Figure 10-3: Packing a color into an integer
Figure 10-4: Text anchor points
Figure 10-5: TextCanvas in the flesh
Figure 10-6: The three font faces in italics
Figure 10-7: Image anchor points
Figure 10-8: A very small image
Figure 10-9: SweepCanvas animation running on a grayscale emulator

Chapter 11: The Game API

Figure 11-1: A source image for a tiled layer
Figure 11-2: Tile numbering
Figure 11-3: Other tile image layouts
Figure 11-4: A tiled layer
Figure 11-5: A sprite source image
Figure 11-6: The reference pixel doesn't move.
Figure 11-7: The whole iguana— sprites and tiled layers

Chapter 12: Sound and Music

Figure 12-1: An itty bitty piano
Figure 12-2: Audio data path
Figure 12-3: Class relationships
Figure 12-4: MediaInformationMIDlet running on the toolkit's 2.0 beta2 emulator

Chapter 13: Performance Tuning

Figure 13-1: Graph of memory use over time
Figure 13-2: Objects and their memory
Figure 13-3: The profiler times everything.
Figure 13-4: Network activity from the PeekAndPick application

Chapter 14: Parsing XML

Figure 14-1: A simple architecture for Jargoneer

Chapter 15: Protecting Network Data

Figure 15-1: Protecting a password with a message digest
Figure 15-2: A simple form collects a user name and password.
Figure 15-3: The server says whether you're logged in or not.
Figure 15-4: Enter your secret message in StealthMIDlet's main screen.
Figure 15-5: The servlet sends back its own secret message.

Previous Section Next Section