Register your product to gain access to bonus material or receive a coupon.
This EPUB will be accessible from your Account page after purchase.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
The start-to-finish guide to Android application development: massively updated for the newest SDKs and developer techniques!
This book delivers all the up-to-date information, tested code, and best practices you need to create and market successful mobile apps with the latest versions of Android. Drawing on their extensive experience with mobile and wireless development, Lauren Darcey and Shane Conder cover every step: concept, design, coding, testing, packaging, and delivery. The authors introduce the Android platform, explain the principles of effective Android application design, and present today’s best practices for crafting effective user interfaces. Next, they offer detailed coverage of each key Android API, including data storage, networking, telephony, location-based services, multimedia, 3D graphics, and hardware.
Every chapter of this edition has been updated for the newest Android SDKs, tools, utilities, and hardware. All sample code has been overhauled and tested on leading devices from multiple companies, including HTC, Motorola, and ARCHOS. Many new examples have been added, including complete new applications. This new edition also adds
This book is an indispensable resource for every member of the Android development team: software developers with all levels of mobile experience, team leaders and project managers, testers and QA specialists, software architects, and even marketers.
Introduction 1
Part I: An Overview of Android
Chapter 1 Introducing Android 7
A Brief History of Mobile Software Development 7
Way Back When 7
“The Brick” 9
Wireless Application Protocol (WAP) 11
Proprietary Mobile Platforms 13
The Open Handset Alliance 15
Google Goes Wireless 15
Forming the Open Handset Alliance 15
Manufacturers: Designing the Android Handsets 16
Mobile Operators: Delivering the Android Experience 17
Content Providers: Developing Android Applications 17
Taking Advantage of All Android Has to Offer 18
Android Platform Differences 18
Android: A Next-Generation Platform 18
Free and Open Source 20
Familiar and Inexpensive Development Tools 20
Reasonable Learning Curve for Developers 20
Enabling Development of Powerful Applications 21
Rich, Secure Application Integration 21
No Costly Obstacles to Publication 21
A “Free Market” for Applications 22
A New and Growing Platform 22
The Android Platform 23
Android’s Underlying Architecture 23
Security and Permissions 25
Developing Android Applications 26
Summary 28
References and More Information 28
Chapter 2 Setting Up Your Android Development Environment 29
Configuring Your Development Environment 29
Configuring Your Operating System for Device Debugging 30
Configuring Your Android Hardware for Debugging 30
Upgrading the Android SDK 31
Problems with the Android Software Development Kit 32
Exploring the Android SDK 32
Understanding the Android SDK License Agreement 32
Reading the Android SDK Documentation 33
Exploring the Android Application Framework 35
Getting to Know the Android Tools 35
Exploring the Android Sample Applications 40
Summary 41
References and More Information 41
Chapter 3 Writing Your First Android Application 43
Testing Your Development Environment 43
Adding the Snake Application to a Project in Your Eclipse Workspace 43
Creating an Android Virtual Device (AVD) for Your Snake Project 44