Apress - Advanced BlackBerry Development (December 2009) (ATTiCA).pdf

(6370 KB) Pobierz
Apress - Advanced BlackBerry Development (December 2009) (ATTiCA)
Unlock the secrets of
advanced BlackBerry development
BlackBerry
Development
Chris King
Advanced
236875245.039.png 236875245.048.png 236875245.058.png 236875245.059.png 236875245.001.png 236875245.002.png 236875245.003.png 236875245.004.png 236875245.005.png 236875245.006.png 236875245.007.png 236875245.008.png 236875245.009.png 236875245.010.png 236875245.011.png 236875245.012.png 236875245.013.png
 
236875245.014.png 236875245.015.png 236875245.016.png 236875245.017.png 236875245.018.png 236875245.019.png 236875245.020.png 236875245.021.png 236875245.022.png 236875245.023.png 236875245.024.png 236875245.025.png 236875245.026.png 236875245.027.png 236875245.028.png
BOOKS FOR PROFESSIONALS BY PROFESSIONALS ®
Learntocreate,debuganddeployprofessionalquality
BlackBerryapplications
DiscoverthebreadthoftheBlackBerryplatformandunlockits
potential.
Incorporatekeyfeaturessuchascryptography,videoandtext
messagingintoyourcode
D o you want to write compelling software for some of the most popu-
Once you get comfortable with the platform and its quirks, you’ll ind BlackBerry
programming very rewarding. You’ll learn about many of the cool features available
for your use, like recording audio, playing video, and sending text messages. You’ll
learn the deep voodoo of cryptography. Perhaps most exciting of all, you’ll see how
your applications can burrow into the phone’s core features, becoming indispens-
able to users.
Whether you’re a veteran looking for a map across the BlackBerry mineield, or a
new recruit learning the lie of the land, this book will show you the best way to
achieve your objectives. I hope that, by the time you inish this book, you won’t just
know how to write great BlackBerry apps, but will be able to write them quickly and
get them working on as many phones as possible with as few headaches as pos-
sible. Good luck, and have fun!
Chris Kingisasoftwareengineerspecializinginmobile
development.Havingdevelopedapplicationsfor
BlackBerry,Android,JavaME,BREW,andWindowsMobile
devices,hissoftwarehasbeenpre-loadedontensof
millionsofphonesintheUnitedStatesalone.
COMPANIONeBOOK
SEELASTPAGEFORDETAILSON$10eBOOKVERSION
ISBN 978-1-4302-2656-7
53999
US $39.99
Shelve in
Mobile Computing
SOURCE CODE ONLINE
User level:
Intermediate-Advanced
www.apress.com
9 781430 226567
lar phones in the world? This book shows you how to write top-notch,
professional applications for the BlackBerry platform. In my career developing
mobile software I’ve found that vital information is often buried deep inside
multiple API documents, whitepapers, message boards, sample code, and the
heads of engineers who have fought against problems until they were solved.
Unless you’re lucky enough to work with a bright and friendly person who is
an expert with a lot of spare time on their hands, it’s diicult to get a compre-
hensive view of how everything hangs together. I enjoy writing BlackBerry
software, and have battled many of the issues that can trip up developers, so I
wrote this book to help others get over those hurdles. Building software is fun;
dealing with a phone’s foibles is not.
236875245.029.png 236875245.030.png 236875245.031.png 236875245.032.png 236875245.033.png 236875245.034.png
 
236875245.035.png
 
236875245.036.png 236875245.037.png 236875245.038.png 236875245.040.png 236875245.041.png 236875245.042.png 236875245.043.png 236875245.044.png 236875245.045.png 236875245.046.png 236875245.047.png 236875245.049.png 236875245.050.png 236875245.051.png 236875245.052.png 236875245.053.png 236875245.054.png 236875245.055.png
Advanced BlackBerry
Development
■ ■ ■
Chris King
236875245.056.png 236875245.057.png
Advanced BlackBerry Development
Copyright © 2009 by Chris King
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-2656-7
ISBN-13 (electronic): 978-1-4302-2657-4
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a
trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with
no intention of infringement of the trademark.
President and Publishing: Paul Manning
Lead Editor: Ewan Buckingham
Technical Reviewer: Levon Dolbakian
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Jonathan Gennick,
Michelle Lowman, Matthew Moodie, Jeffrey Pepper, Frank Pohlmann, Ben Renow-Clarke, Dominic
Shakeshaft, Matt Wade, Tom Welsh
Coordinating Editor: Mary Tobin
Copy Editor: Kari Brooks-Copony and Mary Tobin
Compositor: LaurelTech
Indexer: BIM Indexing and e-Services
Artist: April Milne
Cover Designer: Anna Ishchenko
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 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
For information on translations, please e-mail info@apress.com , or visit http://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 http://www.apress.com/info/bulksales .
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 http://www.apress.com . You will need to answer questions
pertaining to this book in order to successfully download the code.
For Mom and Dad
Zgłoś jeśli naruszono regulamin