




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































Mark L. Murphy Version 2.
Table of Contents Welcome to the Warescription!.........................................................xvii Preface..................................................................................................xix Welcome to the Book!...............................................................................xix Prerequisites...............................................................................................xix Using the Tutorials.....................................................................................xx Warescription............................................................................................xxi What's New...............................................................................................xxii About the "Further Reading" Sections....................................................xxii Errata and Book Bug Bounty..................................................................xxiii Source Code License................................................................................xxiv Creative Commons and the Four-to-Free (42F) Guarantee.................xxiv Lifecycle of a CommonsWare Book........................................................xxv Roster of Tutorials...................................................................................xxvi Your First Android App........................................................................... 1 Step-By-Step Instructions............................................................................. 1 Step #1: Choose a Place For Your Applications.................................... 1 Step #2: Check Your Java Environment................................................ 2 Step #3: Download and Install the Android SDK................................ 3 Step #4: Generate the Application Files............................................... 5 iii
- Step #5: Examine and Modify the Layout File..................................... - Step #6: Examine the Activity Java Source.......................................... - Step #7: Install Ant................................................................................. - Step #8: Compile the Application......................................................... - Step #9: Configure and Start Your Emulator....................................... - Step #10: Install the Application in Your Emulator........................... - Step #11: Run the Application in Your Emulator................................. Preface Welcome to the Book! If you come to this book after having read its companion volumes, The Busy Coder's Guide to Android Development and The Busy Coder's Guide to Advanced Android Development , thanks for sticking with the series! CommonsWare aims to have the most comprehensive set of Android development resources (outside of the Open Handset Alliance itself), and we appreciate your interest. If you come to this book having learned about Android from other sources, thanks for joining the CommonsWare community! Prerequisites This book is a collection of tutorials, walking you through developing Android applications, from the simplest "Hello, world!" to applications using many advanced Android APIs. Since this book only supplies tutorials, you will want something beyond it as a reference guide. That could be simply the Android SDK documentation, available with your SDK installation or online. It could be the other books in the CommonsWare Android series. Or, it could be another Android book – a list of currently-available Android books can be found on the Android Programming knol. What you do not want to do is xix