The Android Developer's Cookbook : Building Applications with the Android SDK (Developer's Library) (2ND)

The Android Developer's Cookbook : Building Applications with the Android SDK (Developer's Library) (2ND)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 436 p.
  • 言語 ENG
  • 商品コード 9780321897534
  • DDC分類 004.1675

Full Description


Do you want to get started building apps for Android, today's number one mobile platform? Are you already building Android apps but want to get better at it? The Android (TM) Developer's Cookbook, Second Edition, brings together all the expert guidance and code you'll need.This edition has been extensively updated to reflect the other Android 4.2.2 releases. You'll find all-new chapters on advanced threading and UI development, in-app billing, push messages, and native development, plus new techniques for everything from accessing NFC hardware to using Google Cloud Messaging.Proven modular recipes take you from the basics all the way to advanced services, helping you to make the most of the newest Android APIs and tools. The authors' fully updated code samples are designed to serve as templates for your own projects and components. You'll learn best-practice techniques for efficiently solving common problems and for avoiding pitfalls throughout the entire development lifecycle. Coverage includesOrganizing Android apps and integrating their activities Working efficiently with services, receivers, and alertsManaging threads, including advanced techniques using AsyncTasks and loadersBuilding robust, intuitive user interfacesImplementing advanced UI features, including Custom Views, animation, accessibility, and large screen supportCapturing, playing, and manipulating mediaInteracting with SMS, websites, and social networksStoring data via SQLite and other methodsIntegrating in-app billing using Google Play servicesManaging push messaging with C2DMLeveraging new components and structures for native Android developmentEfficiently testing and debugging with Android's latest tools and techniques, including LINT code analysisThe Android (TM) Developer's Cookbook, Second Edition, is all you need to jumpstart any Android project, and create high-value, feature-rich apps that sell.

Contents

Preface xxi About the Authors xxvChapter 1: Overview of Android 1The Evolution of Android 1The Dichotomy of Android 2Devices Running Android 2Hardware Differences on Android Devices 6Features of Android 10Android Development 11Software Development Kit (SDK) 12Google Play 16Managing Reviews and Updates 19Alternatives to Google Play 20Chapter 2: Application Basics: Activities and Intents 21Android Application Overview 21Activity Lifecycle 31Multiple Activities 36Chapter 3: Threads, Services, Receivers, and Alerts 51Threads 51Messages between Threads: Handlers 58Alerts 63Services 69Broadcast Receivers 82App Widgets 85Chapter 4: Advanced Threading Techniques 89Loaders 89AsyncTasks 91Android Inter-Process Communication 94Chapter 5: User Interface Layout 109Resource Directories and General Attributes 109Views and ViewGroups 112Text Manipulation 124Other Widgets: From Buttons to Seek Bars 130Chapter 6: User Interface Events 145Event Handlers and Event Listeners 145Advanced User Interface Libraries 168Chapter 7: Advanced User Interface Techniques 177Android Custom View 177Android Animation 183Accessibility 189Fragments 191Chapter 8: Multimedia Techniques 199Images 199Audio 206Video 217Chapter 9: Hardware Interface 221Camera 221Other Sensors 227Telephony 231Bluetooth 236Near Field Communication (NFC) 243Universal Serial Bus (USB) 248Chapter 10: Networking 251Reacting to the Network State 251Using SMS 255Using Web Content 263Social Networking 275Chapter 11: Data Storage Methods 287Shared Preferences 287SQLite Database 297Content Provider 306File Saving and Loading 312Chapter 12: Location-Based Services 315Location Basics 315Using Google Maps 325Using the Little Fluffy Location Library 337Chapter 13: In-App Billing 343Google Play In-App Billing 343Chapter 14: Push Messages 349Google Cloud Messaging Setup 3 49Sending and Receiving Push Messages 351Receiving Messages 353Sending Messages 356Chapter 15: Android Native Development 361Android Native Components 361Chapter 16: Debugging 371Android Test Projects 371Eclipse Built-In Debug Tools 377Android SDK Debug Tools 380Android System Debug Tools 390Appendix A: Using the OpenIntents Sensor Simulator 395Setting Up the Sensor Simulator 395Adding the Sensor Simulator to an Application 398Appendix B: Using the Compatibility Pack 401Android Support Packages 401Adding the Support Library to a Project 408Appendix C: Using a Continuous Integration System 409Appendix D: Android OS Releases 411Cupcake: Android OS 1.5, API Level 3, Released April 30, 2009 411Donut: Android OS 1.6, API Level 4, Released September 15, 2009 411Eclair: Android OS 2.0, API Level 5, Released October 26, 2009 412Froyo: Android OS 2.2, API Level 8, Released May 20, 2010 412Gingerbread: Android OS 2.3, API Level 9, Released December 6, 2010 412Honeycomb: Android OS 3.0, API Level 11, Released February 22, 2011 413Ice Cream Sandwich: Android OS 4.0, API Level 14,Released October 19, 2011 413Jelly Bean: Android OS 4.1, API Level 16, Released July 9, 2012 414Index 417

最近チェックした商品