The Android Developer's Cookbook: Building Applications with the Android SDK

Cover
Addison-Wesley, 02.07.2013 - 464 Seiten
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 AndroidTM 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 includes


  • Organizing Android apps and integrating their activities
  • Working efficiently with services, receivers, and alerts
  • Managing threads, including advanced techniques using AsyncTasks and loaders
  • Building robust, intuitive user interfaces
  • Implementing advanced UI features, including Custom Views, animation, accessibility, and large screen support
  • Capturing, playing, and manipulating media
  • Interacting with SMS, websites, and social networks
  • Storing data via SQLite and other methods
  • Integrating in-app billing using Google Play services
  • Managing push messaging with C2DM
  • Leveraging new components and structures for native Android development
  • Efficiently testing and debugging with Android’s latest tools and techniques, including LINT code analysis

The AndroidTM Developer’s Cookbook, Second Edition, is all you need to jumpstart any Android project, and create high-value, feature-rich apps that sell.

 

Inhalt

Overview of Android
1
Activities and Intents
21
Threads Services Receivers and Alerts
51
Advanced Threading Techniques
89
User Interface Layout
109
User Interface Events
145
Advanced User Interface Techniques
177
Multimedia Techniques
199
LocationBased Services
315
Geocoding
322
InApp Billing
343
Push Messages
349
Android Native Development
361
Debugging
371
Android System Debug Tools
390
A Using the OpenIntents Sensor Simulator
395

Hardware Interface
221
Networking
251
Using SMS
255
Data Storage Methods
287
File Saving and Loading
312
B Using the Compatibility Pack
401
Using a Continuous Integration System
409
Android OS Releases
411
Index
417
Urheberrecht

Andere Ausgaben - Alle anzeigen

Häufige Begriffe und Wortgruppen

Autoren-Profil (2013)

Ronan “Zero” Schwarz, cofounder of OpenIntents, has built Android apps since 2007 and helped create SplashPlay and Droidspray–top Google Android Developer Challenge finalists.

Phil Dutson is lead eCommerce developer for ICON Health and Fitness. He wrote Sams Teach Yourself jQuery Mobile in 24 Hours.

James Steele, vice president of engineering at Sensor Platforms, focuses on helping app developers leverage user motion and context information more easily.

Nelson To markets multiple apps at Google Play. He has worked on enterprise Android apps for Think Computer, Inc., AOL (AIM), Stanford University, and Logitech.

Bibliografische Informationen