Android Application Development - ...

Strona startowa
Android Application Development - Rogers, IT EBooks - Informatyka
 
[ Pobierz całość w formacie PDF ]
Android Application Development
Rick Rogers, John Lombardo, Zigurd Mednieks, and Blake
Meike
Beijing
•
Cambridge
•
Farnham
•
Köln
•
Sebastopol
•
Taipei
•
Tokyo
Android Application Development
by Rick Rogers, John Lombardo, Zigurd Mednieks, and Blake Meike
Copyright © 2009 Rick Rogers, John Lombardo, Zigurd Mednieks, and Blake Meike. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (
). For more information, contact our
corporate/institutional sales department: (800) 998-9938 or
corporate@oreilly.com
.
Editor:
Andy Oram
Production Editor:
Sumita Mukherji
Copyeditor:
Genevieve d’Entremont
Proofreader:
Sada Preisch
Indexer:
Joe Wizda
Cover Designer:
Karen Montgomery
Interior Designer:
David Futato
Illustrator:
Robert Romano
Printing History:
May 2009:
First Edition.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc.
the image of an Eastern quoll and related trade
dress are trademarks of O’Reilly Media, Inc.
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 O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
TM
This book uses RepKoverâ„¢, a durable and flexible lay-flat binding.
ISBN: 978-0-596-52147-9
[M]
1241533714
 Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Part I. Development Kit Walk-Through
1. Getting to Know Android . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Why Android?
3
The Open Handset Alliance
4
The Android Execution Environment
5
Components of an Android Application
6
Android Activity Lifecycle
8
Android Service Lifecycle
10
How This Book Fits Together
10
2. Setting Up Your Android Development Environment . . . . . . . . . . . . . . . . . . . . . . . . . 13
Setting Up Your Development Environment
13
Creating an Android Development Environment
14
Hello, Android
18
Where We’re Going
18
Starting a New Android Application: HelloWorld
18
Writing HelloWorld
22
Running HelloWorld
24
3. Using the Android Development Environment for Real Applications . . . . . . . . . . . . 27
MicroJobs: This Book’s Main Sample Application
27
Android and Social Networking
27
Downloading the MJAndroid Code
30
A Brief Tour of the MJAndroid Code
30
The Project Root Folder (MJAndroid)
30
The Source Folder (src)
31
The Resource Folder (res)
32
First Steps: Building and Running the MicroJobs Application
33
iii
[ Pobierz całość w formacie PDF ]
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • rumian.htw.pl
  •  
     
    Linki
     
     
       
    Copyright © 2006 Sitename.com. Designed by Web Page Templates