java ME apps.pdf

(3464 KB) Pobierz
779405019.007.png
Pro Java ME Apps
■ ■ ■
Ovidiu Iliescu
i
779405019.008.png 779405019.009.png 779405019.010.png 779405019.001.png 779405019.002.png 779405019.003.png 779405019.004.png 779405019.005.png
Pro Java ME Apps
Copyright © 2011 by Ovidiu Iliescu
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any
means, electronic or mechanical, including photocopying, recording, or by any information
storage or retrieval system, without the prior written permission of the copyright owner and the
publisher.
ISBN-13 (pbk): 978-1-4302- 3327-5
ISBN-13 (electronic): 978-1-4302- 3328-2
Trademarked names, logos, and images may appear in this book. Rather than use a trademark
symbol with every occurrence of a trademarked name, logo, or image we use the names, logos,
and images only in an editorial fashion and to the benefit of the trademark owner, with no
intention of infringement of the trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if
they are not identified as such, is not to be taken as an expression of opinion as to whether or not
they are subject to proprietary rights.
President and Publisher: Paul Manning
Lead Editor: Steve Anglin
Development Editor: Douglas Pundick
Technical Reviewer: Carol Hamer
Editorial Board: Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Jonathan
Gennick, Jonathan Hassell, Michelle Lowman, James Markham, Matthew Moodie,
Jeff Olson, Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke,
Dominic Shakeshaft, Matt Wade, Tom Welsh
Coordinating Editor: Adam Heath
Copy Editor: Mary Ann Fugate, Sharon Wilkey
Compositor: MacPS, LLC
Indexer: SPi Global
Artist: SPi Gobal
Cover Designer: Anna Ishchenko
Distributed to the book trade worldwide by Springer Science+Business Media, LLC., 233 Spring
Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail
orders-ny@springer-sbm.com , or visit www.springeronline.com .
For information on translations, please e-mail rights@apress.com , or visit www.apress.com .
Apress and friends of ED books may be purchased in bulk for academic, corporate, or
promotional use. eBook versions and licenses are also available for most titles. For more
information, reference our Special Bulk Sales–eBook Licensing web page at
www.apress.com/bulk-sales .
The information in this book is distributed on an “as is” basis, without warranty. Although every
precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall
have any liability to any person or entity with respect to any loss or damage caused or alleged to
be caused directly or indirectly by the information contained in this work.
The source code for this book is available to readers at www.apress.com . You will need to answer
questions pertaining to this book in order to successfully download the code.
Mom, Dad, Grandpa – Thank you for everything. I love you.
Contents at a Glance
Contents .............................................................................................................. v
About the Author................................................................................................ xi
About the Technical Reviewer .......................................................................... xii
Acknowledgments ........................................................................................... xiii
Introduction ...................................................................................................... xiv
Chapter 1: Getting Started ............................................................................... 1
Chapter 3: Defining Our Data ......................................................................... 51
Chapter 4: The Networking Module ............................................................... 63
Chapter 2: A Java ME Framework ................................................................. 25
Chapter 6: The UI Module ............................................................................ 115
Chapter 7: The Localization Module ............................................................ 155
Chapter 8: Putting It All Together................................................................ 169
Chapter 5: The Persistence Module............................................................... 93
Chapter 10: Optimizing Your Code .............................................................. 223
Chapter 11: Adding Fine Touches and User Interaction Improvements ...... 251
Chapter 12: Java ME Application Testing.................................................... 271
Chapter 9: Device Fragmentation ................................................................ 193
Chapter 14: The Proper Java ME Mindset ................................................... 305
Chapter 15: Java ME and the Future ........................................................... 325
Chapter 13: Advanced Java ME Graphics.................................................... 283
Chapter 16: Final Words .............................................................................. 337
Index ............................................................................................................... 341
iv
779405019.006.png
Zgłoś jeśli naruszono regulamin