The Android Developer's Cookbook [Steele & To 2010-10-27].pdf

(4567 KB) Pobierz
The Android
Developer’s Cookbook
Building Applications with
the Android SDK
The Android
Developer’s Cookbook
Building Applications with
the Android SDK
James Steele
Nelson To
Upper Saddle River, NJ • Boston • Indianapolis • San Francisco
New York • Toronto • Montreal • London • Munich • Paris • Madrid
Cape Town • Sydney • Tokyo • Singapore • Mexico City
Many of the designations used by manufacturers and sellers to distinguish their products
are claimed as trademarks. Where those designations appear in this book, and the publish-
er was aware of a trademark claim, the designations have been printed with initial capital
letters or in all capitals.
The authors and publisher have taken care in the preparation of this book, but make no
expressed or implied warranty of any kind and assume no responsibility for errors or omis-
sions. No liability is assumed for incidental or consequential damages in connection with or
arising out of the use of the information or programs contained herein.
The publisher offers excellent discounts on this book when ordered in quantity for bulk pur-
chases or special sales, which may include electronic versions and/or custom covers and
content particular to your business, training goals, marketing focus, and branding interests.
For more information, please contact:
U.S. Corporate and Government Sales
(800) 382-3419
corpsales@pearsontechgroup.com
For sales outside the United States, please contact:
International Sales
international@pearson.com
Visit us on the Web: informit.com/aw
Library of Congress Cataloging-in-Publication Data
Steele, James, 1971-
The Android developer's cookbook : building applications with the
Android SDK / James Steele, Nelson To.
p. cm.
Includes bibliographical references and index.
ISBN-13: 978-0-321-74123-3 (pbk. : alk. paper)
ISBN-10: 0-321-74123-4 (pbk. : alk. paper)
1. Application software—Development. 2. Android (Electronic resource)
3. Mobile computing. 4. Smartphones—Programming. 5. Operating systems
(Computers) I. To, Nelson, 1976- II. Title.
QA76.76.A65S743 2011
004.1675—dc22
2010033254
Copyright © 2011 by Pearson Education, Inc.
All rights reserved. Printed in the United States of America. This publication is protected by
copyright, and permission must be obtained from the publisher prior to any prohibited repro-
duction, storage in a retrieval system, or transmission in any form or by any means, elec-
tronic, mechanical, photocopying, recording, or likewise. For information regarding permis-
sions, write to:
Pearson Education, Inc.
Rights and Contracts Department
501 Boylston Street, Suite 900
Boston, MA 02116
Fax (617) 671-3447
Images that appear with the link http://www.developer.android.com in the credit line are
exact reproductions or modifications of work created and shared by the Android Open
Source Project (http://code.google.com/policies.html) and are used according to terms
described in the Creative Commons 2.5 Attribution License (http://creativecommons.org/
licenses/by/2.5/).
Text printed in the United States on recycled paper at RR Donnelley, Crawfordsville, Indiana.
First Printing: October 2010
ISBN-10: 0-321-74123-4
ISBN-13: 978-0-321-74123-3
Editor-in-Chief
Mark Taub
Acquisitions Editor
Trina McDonald
Development
Editor
Michael Thurston
Managing Editor
Sandra Schroeder
Project Editor
Mandie Frank
Copy Editor
Deadline Driven
Publishing
Indexer
Erika Millen
Proofreader
Jovana Shirley
Technical Editors
Romin Irani
Douglas Jones
Publishing
Coordinator
Olivia Basegio
Designer
Gary Adair
Page Layout
Mark Shirar
To Wei with love.
Jim
To my dear mom.
Nelson
Zgłoś jeśli naruszono regulamin