Android Application Development For Dummies
by Donn Felker with Joshua Dobbs
Android Application Development For Dummies
Published by
Wiley Publishing, Inc.
111 River Street
Hoboken, NJ 07030-5774
www.wiley.com
Copyright 2011 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 permitted 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 affiliates in the United States and other countries, and may not be used without written permission. Android is a trademark of Google, Inc. 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 without 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 organization 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.
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: 2010939962
ISBN: 978-0-470-77018-4
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
About the Authors
Donn Felker is a recognized leader in the development and consultation of state-of-the-art, cutting-edge software in the mobile and Web fields. He is an independent consultant with over 10 years of professional experience in various markets that include entertainment, health, retail, insurance, financial, and real estate. He is a mobile junkie, serial entrepreneur, and creative innovator in all things mobile and Web. He is the founder of Agilevent, an innovative creative development firm that has done work for small startups as well as Fortune 500 companies. He is a Microsoft ASP Insider, an MCTS for .NET Framework 2.0 and 3.5 Web Applications, and a certified ScrumMaster. Hes a national speaker on topics that include Android, .NET, and software architecture. He is the author of the TekPub.com Introduction to Android video series. He is a writer, presenter, and consultant on various topics ranging from architecture to development in general, agile practices, and patterns and practices. Follow Donn on Twitter ( @donnfelker ) or read his blog here: http://blog.donnfelker.com.
Joshua Dobbs is a senior lead Web application developer for a large electronics manufacturer in Southern California. He has more than ten years experience in Web and desktop application development. Josh was an early adopter of the Android platform and creates Android apps in his spare time. His apps have been downloaded more than 6 million times, and he was selected by Google as top Android developer for its Device Seeding Program. His Web site is www.joshdobbs.com.
Dedication
To my dogs, Lulu and Macho, and my cat, Vito: Thanks for keeping me company in the cold basement while I cranked out page after page in the wee hours of the morning while everyone else was asleep. Writing is a lonely gig, and your company helped the time pass much easier (and kept my feet and lap warm too).
To my dearest daughter, Sophia, who made even the toughest days brighter through her contagious, infectious laughter and antics. I love you.
Most of all, to my gorgeous wife, Ginamarie, who has always been very supportive of all my crazy, harebrained ideas over the years. I would not have gotten where I am in my life if it were not for your support. I love you.
Authors Acknowledgments
Thanks to coauthor Joshua Dobbs for writing the couple of chapters that I needed help with. May we both have many more successful books in the future!
Thanks to Wiley Acquisitions Editor Kyle Looper for giving me a shot at writing this book. I really appreciate the help, support, and insight into everything publishing-related. Youve been a life saver on this project. Thank you.
Project Editor Kathy Simpson pushed me beyond what I thought would be possible in terms of the organization of the content and readability. Thank you for being a diligent editor.
Copy Editor John Edwards helped find some of my most subtle mistakes, which allowed me to polish the book content even more. Thank you.
Technical Editor Andre Taddeini is one of the few technical individuals I trust wholeheartedly. Im glad you were my second pair of eyes on this project. Your sanity check of the technical accuracy of the book was outstanding. Thank you.
Finally, thank you to my friend John Benda for contributing by being supportive of me and my family during this process. Its been a long road. Now its your turn to write a book!
Publishers Acknowledgments
Were proud of this book; please send us your comments at http://dummies.custhelp.com. For other comments, 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.
Some of the people who helped bring this book to market include the following:
Acquisitions, Editorial, and Media Development
Project Editor: Kathy Simpson