BlackBerry_Application_Development_For_Dummies.pdf

(5643 KB) Pobierz
657039519 UNPDF
M a k i n g E ve r y t h i n g E a s i e r !
B l a c k B e r r y
Learn to:
Download and work with the JDE
Take advantage of developer tools,
including device and service simulators
Create your own BlackBerry apps
Submit your apps to BlackBerry App
World and get them accepted
Karl G. Kowalski
RSA, The Security Division of EMC
657039519.046.png 657039519.056.png 657039519.067.png 657039519.078.png 657039519.001.png 657039519.002.png 657039519.003.png 657039519.004.png 657039519.005.png 657039519.006.png 657039519.007.png 657039519.008.png 657039519.009.png 657039519.010.png 657039519.011.png 657039519.012.png 657039519.013.png
 
657039519.014.png 657039519.015.png 657039519.016.png 657039519.017.png 657039519.018.png 657039519.019.png 657039519.020.png 657039519.021.png 657039519.022.png 657039519.023.png
 
657039519.024.png 657039519.025.png 657039519.026.png 657039519.027.png 657039519.028.png 657039519.029.png 657039519.030.png 657039519.031.png 657039519.032.png 657039519.033.png
Get More and Do More at Dummies.com ®
Start with FREE Cheat Sheets
Cheat Sheets include
Checklists
Charts
Common Instructions
And Other Good Stuff!
To access the Cheat Sheet created specifically for this book, go to
www.dummies.com/cheatsheet/blackberryapplicationdevelopment
Get Smart at Dummies.com
Dummies.com makes your life easier with 1,000s
of answers on everything from removing wallpaper
to using the latest version of Windows.
Check out our
Videos
Illustrated Articles
Step-by-Step Instructions
Plus, each month you can win valuable prizes by entering
our Dummies.com sweepstakes. *
Want a weekly dose of Dummies? Sign up for Newsletters on
Digital Photography
Microsoft Windows & Office
Personal Finance & Investing
Health & Wellness
Computing, iPods & Cell Phones
eBay
Internet
Food, Home & Garden
Find out “HOW” at Dummies.com
*Sweepstakes not currently available in all countries; visit Dummies.com for official rules.
657039519.034.png
 
657039519.035.png
 
 
657039519.036.png 657039519.037.png 657039519.038.png 657039519.039.png 657039519.040.png 657039519.041.png 657039519.042.png 657039519.043.png 657039519.044.png 657039519.045.png 657039519.047.png 657039519.048.png 657039519.049.png 657039519.050.png 657039519.051.png
 
BlackBerry ®
Application Development
FOR
DUMmIES
by Karl G. Kowalski
Software developer for RSA Security
657039519.052.png 657039519.053.png 657039519.054.png 657039519.055.png 657039519.057.png 657039519.058.png 657039519.059.png 657039519.060.png
BlackBerry ® Application Development For Dummies ®
Published by
Wiley Publishing, Inc.
111 River Street
Hoboken, NJ 07030-5774
www.wiley.com
Copyright © 2010 by Wiley Publishing, Inc., Indianapolis, Indiana
Published by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or
by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permit-
ted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written
permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the
Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600.
Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley
& Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://
www.wiley.com/go/permissions .
Trademarks: Wiley, the Wiley Publishing logo, For Dummies, the Dummies Man logo, A Reference for the
Rest of Us!, The Dummies Way, Dummies Daily, The Fun and Easy Way, Dummies.com, Making Everything
Easier, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/
or its af liates in the United States and other countries, and may not be used without written permission.
BlackBerry is a trademark or registered trademark of Research In Motion Limited. All other trademarks
are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or
vendor mentioned in this book.
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO
REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF
THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITH-
OUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE
CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES
CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE
UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR
OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF
A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE
AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZA-
TION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF
FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE
INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY
MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK
MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT
IS READ. FULFILLMENT OF EACH COUPON OFFER IS THE SOLE RESPONSIBILITY OF THE OFFEROR.
For general information on our other products and services, please contact our Customer Care
Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002.
For technical support, please visit www.wiley.com/techsupport .
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may
not be available in electronic books.
Library of Congress Control Number: 2010935568
ISBN: 978-0-470-46711-4
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
657039519.061.png 657039519.062.png 657039519.063.png 657039519.064.png 657039519.065.png 657039519.066.png 657039519.068.png 657039519.069.png 657039519.070.png 657039519.071.png
About the Author
Karl Kowalski has traveled the world of software development for far longer
than he really wants to remember. He has written code for everything from
airplanes, to voice recognition, to robot submarines, to games, and even
particle accelerators, and he has developed software on everything from
mainframes to cellphones. He lives near Boston and works for RSA, the
Security Division of EMC, where his tasks include developing security
solutions for mobile platforms, most especially the BlackBerry smartphone.
In his spare time, he develops software for smartphones such as BlackBerry,
iPhone, and Android as part of his startup, BlazingApps LLC ( www.blazing
apps.com ).
Dedication
To my parents, Stanley and Constance Kowalski, who are always there for
me, and who at every step helped me to become who I am today. Thanks,
Dad, for introducing me to programming computers, back before I could do
algebra. To my siblings — Lee Anne, Rosemarie, and Joseph — who always
kept me honest about taking time off from writing. Special thanks to Lee Anne
who helped me get started when I rst mentioned the idea. To my friend
Pauline, who saw me through some of the hard parts of becoming a writer.
Finally, to the members of the RSA Credentials Everywhere team: I couldn’t
have done this without your encouragement and support.
Author’s Acknowledgments
Many thanks go to Carole Jelen, agent extraordinaire, who never gave up on
me nor let me give up on myself. Acquisitions Editor Katie Mohr helped me
greatly through my learning to write For Dummies experience and also with
ideas and motivation for moving ahead. Project Editor Jean Nelson deserves
enormous thanks for putting up with a wet-behind-the-ears writer as I worked
to stay on target and stick to the schedule. Senior Copy Editor Teresa Artman
was very helpful in her efforts to take my typing and turn it into something
readable. Special thanks also to Leah Cameron for her feedback as I learned
to write For Dummies . Thanks to Christopher Parsons for his technical review.
Thanks to Robert Philpott at EMC for his work to ensure that I maintained a
distinct separation between my EMC efforts and my writing efforts.
657039519.072.png 657039519.073.png 657039519.074.png 657039519.075.png 657039519.076.png 657039519.077.png 657039519.079.png 657039519.080.png
Zgłoś jeśli naruszono regulamin