Developers, build mobile Android apps using Android 4
The fast-growing popularity of Android smartphones and tabletscreates a huge opportunities for developers. If you’re anexperienced developer, you can start creating robust mobile Androidapps right away with this professional guide to Android 4application development. Written by one of Google’s lead Androiddeveloper advocates, this practical book walks you through a seriesof hands-on projects that illustrate the features of the Android SDK. That includes all the new APIs introduced in Android 3 and 4, including building for tablets, using the Action Bar, Wi-Fi Direct, NFC Beam, and more.
* Shows experienced developers how to create mobile applicationsfor Android smartphones and tablets
* Revised and expanded to cover all the Android SDK releasesincluding Android 4.0 (Ice Cream Sandwich), including all updated APIs, and the latest changes to the Android platform.
* Explains new and enhanced features such as drag and drop, fragments, the action bar, enhanced multitouch support, newenvironmental sensor support, major improvements to the animationframework, and a range of new communications techniques including NFC and Wi-Fi direct.
* Provides practical guidance on publishing and marketing yourapplications, best practices for user experience, and more
This book helps you learn to master the design, lifecycle, and UI of an Android app through practical exercises, which you canthen use as a basis for developing your own Android apps.
Mục lục
INTRODUCTION xxxvii
CHAPTER 1 Hello, Android 1
CHAPTER 2 Getting Started 19
CHAPTER 3 Creating Applications and Activities 53
CHAPTER 4 Building User Interfaces 95
CHAPTER 5 Intents and Broadcast Receivers 165
CHAPTER 6 Using Internet Resources 201
CHAPTER 7 Files, Saving State, and Preferences 221
CHAPTER 8 Databases and Content Providers 251
CHAPTER 9 Working in the Background 331
CHAPTER 10 Expanding the User Experience 359
CHAPTER 11 Advanced User Experience 425
CHAPTER 12 Hardware Sensors 481
CHAPTER 13 Maps, Geocoding, and Location-Based Services 513
CHAPTER 14 Invading the Home Screen 565
CHAPTER 15 Audio, Video, and Using the Camera 621
CHAPTER 16 Bluetooth, NFC, Networks, and Wi-Fi 665
CHAPTER 17 Telephony and SMS 701
CHAPTER 18 Advanced Android Development 739
CHAPTER 19 Monetizing, Promoting, and Distributing Applications 771
INDEX 787
Giới thiệu về tác giả
Reto Meier is Google’s Android Developer Relations Tech Lead. He has been involved in Android development since the initial release in 2007.