Download from Wow! eBook <www.wowebook.com>
Meier02275 ffirs V2 - 03/22/2012
ffirs.indd ii
4/11/2012 10:37:19 AM
Meier02275 ffirs V2 - 03/22/2012
PROFESSIONAL
ANDROID™ 4 APPLICATION DEVELOPMENT
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
ffirs.indd i
4/11/2012 10:37:18 AM
Meier02275 ffirs V2 - 03/22/2012
ffirs.indd ii
4/11/2012 10:37:19 AM
12
Meier02275 ffirs V2 - 03/22/2012
PROFESSIONAL
Android™ 4 Application Development
ffirs.indd iii
4/11/2012 10:37:19 AM
Related Wrox Books
Join the discussion @ p2p.wrox.com
Wrox Programmer to Programmer™
Ivor Horton’s Beginning Java, Java 7 Edition
ISBN:978-0-470-40414-0
Whetheryou’reabeginneroranexperiencedprogrammerswitchingtoJava,
you’lllearnhowtobuildreal-worldJavaapplicationsusingJavaSE7.
Ivor Horton’s
Beginning
Java
®
Java 7 Edition
Ivor Horton
Join the discussion @ p2p.wrox.com
Wrox Programmer to Programmer™
Professional Android Programming
with Mono for Android and .NET/C#
ISBN:978-1-118-02643-4
Forthemillionsof.NET/C#developerswhohavebeeneagerlyawaitingthe
bookthatwillguidethemthroughthewhite-hotfieldofAndroidapplication
programming,thisisthebook.Thismust-haveresourcedivesintowriting
applicationsagainstMonowithC#andcompilingexecutablesthatrunon
theAndroidfamilyofdevices.
Professional
Android Programming
™
with Mono for Android and .NET/C#
Wallace B. McClure, Nathan Blevins, John J. Croft IV, Jonathan Dick, Chris Hardy