Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
Bonus KitKat material is available for download at www.informit.com/title/What Every Android™ App Developer Should Know Today: Android Tools, App/UI Design, Testing, Publishing, And More
This fully reworked edition of a proven title is the most useful real-world guide to building robust, commercial-grade Android™ apps. The content is revised and updated for the latest Android 4.3 SDK and the newest development best practices. Introduction to Android™ Application Development: Android Essentials, Fourth Edition,covers all you need to quickly start developing professional apps for today’s Android devices. Three expert developers guide you through setting up your development environment, designing user interfaces, developing for diverse devices, and optimizing your entire app-development process–from design through publication. Updated throughout, this title includes extensive coverage of the most useful new Android tools and utilities. It adds an all-new chapter on planning an amazing Android app user experience, plus extensive new coverage of unit testing, dialogs, preferences, and app publishing. Throughout, key concepts are taught through clear, up-to-date example code.
This edition offers
For Android developers at all levels of experience, this reference is now more valuable than ever. Students, instructors, and self-learners will especially appreciate new chapter-ending questions and exercises, carefully designed to test knowledge and deepen mastery.
Annuzzi has released new source code samples for use with Android Studio. The code updates are posted to the associated blog site: http://
Note: This revamped, newly titled edition is a complete update of Android™ Wireless Application Development, Volume I: Android Essentials, Third Edition
Acknowledgments xxxi
About the Authors xxxiii
Introduction 1
Who Should Read This Book 1
Key Questions Answered in This Book 2
How This Book Is Structured 2
An Overview of Changes in This Edition 3
Development Environments Used in This Book 5
Supplementary Materials Available 6
Where to Find More Information 6
Conventions Used in This Book 7
Contacting the Authors 7
Part I: An Overview of the Android Platform
Chapter 1: Introducing Android 11
A Brief History of Mobile Software Development 11
The Open Handset Alliance 18
Android Platform Differences 23
The Android Platform 29
Summary 36
Quiz Questions 36
Exercises 36
References and More Information 36
Chapter 2: Setting Up Your Android Development Environment 37
Configuring Your Development Environment 37
Exploring the Android SDK 43
Summary 52
Quiz Questions 52
Exercises 53
References and More Information 53
Chapter 3: Writing Your First Android Application 55
Testing Your Development Environment 55
Building Your First Android Application 68
Summary 92
Quiz Questions 93
Exercises 94
References and More Information 94
Part II: Android Application Basics
Chapter 4: Understanding the Anatomy of an Android Application 97
Mastering Important Android Terminology 97
The Application Context 98
Performing Application Tasks with Activities 99
Organizing Activity Components with Fragments 105
Managing Activity Transitions with Intents 106
Working with Services 110
Receiving and Broadcasting Intents 111
Summary 112
Quiz Questions 112
Exercises 112
References and More Information 113
Chapter 5: Defining Your Application Using the Android Manifest File 115
Configuring Android Applications Using the Android Manifest File 115
Managing Your Application’s Identity 122
Enforcing Application System Requirements 123
Registering Activities in the Android Manifest 129
Working with Permissions 131
Exploring Other Manifest File Settings 133
Summary 133
Quiz Questions 134