Teach Yourself Wireless Java with J2ME in 21 Days [Morrison 2001-06-27].pdf

(8530 KB) Pobierz
435507325 UNPDF
435507325.002.png
Michael Morrison
Teach Yourself
Wireless Java
with J2ME
21 Days
in
201 West 103rd St., Indianapolis, Indiana, 46290 USA
435507325.003.png
Sams Teach Yourself Wireless Java
with J2ME in 21 Days
Copyright © 2001 by Sams
All rights reserved. No part of this book shall be reproduced, stored in a
retrieval system, or transmitted by any means, electronic, mechanical, photo-
copying, recording, or otherwise, without written permission from the publish-
er. No patent liability is assumed with respect to the use of the information
contained herein. Although every precaution has been taken in the preparation
of this book, the publisher and author assume no responsibility for errors or
omissions. Nor is any liability assumed for damages resulting from the use of
the information contained herein.
E XECUTIVE E DITOR
Michael Stephens
A CQUISITIONS E DITOR
Carol Ackerman
D EVELOPMENT E DITOR
Bryan Morgan
M ANAGING E DITOR
Matt Purcell
P ROJECT E DITOR
Andy Beaster
C OPY E DITORS
Cindy Fields
Gene Redding
I NDEXER
Johnna Dinse
P ROOFREADER
Candice Hightower
T ECHNICAL E DITOR
Bryan Morgan
T EAM C OORDINATOR
Lynne Williams
M EDIA D EVELOPER
Dan Scherf
I NTERIOR D ESIGNER
Gary Adair
C OVER D ESIGNER
Aren Howell
P AGE L AYOUT
Susan Geiselman
International Standard Book Number: 0-672-32142-4
Library of Congress Catalog Card Number: 2001089623
Printed in the United States of America
First Printing: June 2001
04 03 02 01
4321
Trademarks
All terms mentioned in this book that are known to be trademarks or service
marks have been appropriately capitalized. Sams cannot attest to the accuracy
of this information. Use of a term in this book should not be regarded as
affecting the validity of any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as
possible, but no warranty or fitness is implied. The information provided is on
an “as is” basis. The author and the publisher shall have neither liability nor
responsibility to any person or entity with respect to any loss or damages aris-
ing from the information contained in this book or from the use of the CD or
programs accompanying it.
435507325.004.png
Contents at a Glance
Introduction
1
Part I Getting Started with J2ME and MIDP
7
Day 1 Java 2 Micro Edition: The Big Picture
9
Day 2 Assembling a J2ME Development Kit
25
Day 3 Getting to Know the J2ME Emulator
41
Day 4 Building Your First MIDlet
63
Day 5 Working within the CLDC and MIDP APIs
85
Day 6 Creating Custom Device Profiles
105
Part II Digging Deeper into MIDIet Development
125
Day 7 Building Graphical MIDlets
127
Day 8 Making the Most of MIDlet GUIs
151
Day 9 Exploring MIDlet I/O and Networking
189
Day 10 Being Your Own Meteorologist
213
Day 11 Wireless Navigation
237
Day 12 Optimizing MIDlet Code
265
Part III Wireless Information Management with MIDlets
279
Day 13 Using the MIDP Record Management System (RMS)
281
Day 14 Staying in Touch with Your Contacts
311
Day 15 Managing Your Finances
339
Day 16 Bidding on the Go
373
Part IV Entertaining Without the Wires
401
Day 17 Creating Animated MIDlets
403
Day 18 An Ode to Pong: Creating MIDlet Gaming
437
Day 19 The Next Level of MIDlet Gaming
461
Part V Exploring J2ME Wireless Technologies
491
Day 20 A J2ME Wireless Device Tour
493
Day 21 The Future of J2ME
509
435507325.005.png
Part VI Appednixes
521
A Quiz Answers
523
B What’s on the CD-ROM
531
Index
535
435507325.001.png
Zgłoś jeśli naruszono regulamin