Android™ for Programmers: An App-Driven Approach

Book description

The professional programmer’s Deitel® guide to Android™ smartphone and tablet app development and the Eclipse IDE with the Android Development Tools (ADT) plug-in

¿

Billions of apps have been downloaded from Android Market! This book gives you everything you’ll need to start developing great Android apps quickly and getting them published on Android Market. The book uses an app-driven approach–each new technology is discussed in the context of 16 fully tested Android apps, complete with syntax coloring, code walkthroughs and sample outputs. Apps you’ll develop include:

  • SpotOn Game

  • Slideshow

  • Flag Quiz

  • Route Tracker

  • Favorite Twitter® Searches

  • Address Book

  • Tip Calculator

  • Doodlz

  • Weather Viewer

  • Cannon Game

  • Voice Recorder

  • Pizza Ordering

Practical, example-rich coverage of:

  • Smartphone and Tablet Apps, Android Development Tools (ADT) Plug-In for Eclipse

  • Activities, Intents, Content Providers

  • GUI Components, Menus, Toasts, Resource Files, Touch and Gesture Processing

  • Tablet Apps, ActionBar and AppWidgets

  • Tweened Animations, Property Animations

  • Camera, Audio, Video, Graphics, OpenGL ES

  • Gallery and Media Library Access

  • SharedPreferences, Serialization, SQLite

  • Handlers and Multithreading, Games

  • Google Maps, GPS, Location Services, Sensors

  • Internet-Enabled Apps, Web Services, Telephony, Bluetooth®

  • Speech Synthesis and Recognition

  • Android Market, Pricing, Monetization

  • And more…

PLUS: Register your product at www.informit.com/register for additional online chapters that cover Android Ice Cream Sandwich (Android 4), including a complete, working Ice Cream Sandwich app!

¿

VISIT WWW.DEITEL.COM

  • For information on Deitel’s Dive Into® Series instructor-led programming language training courses offered at customer sites worldwide visit www.deitel.com/training or write to deitel@deitel.com

  • Download code examples

  • Check out the growing list of programming Resource Centers

  • Join the Deitel Twitter (@deitel) and Facebook (www.facebook.com/DeitelFan) communities

  • To receive updates for this book, subscribe to the free Deitel ® Buzz Online e-mail newsletter at www.deitel.com/newsletter/subscribe.html

Table of contents

  1. Title Page
  2. Copyright Page
  3. Dedication
  4. Contents
  5. Preface
  6. Before You Begin
  7. 1. Introduction to Android
  8. 2. Android Market and App Business Issues
  9. 3. Welcome App: Dive-Into® Eclipse and the ADT Plugin
  10. 4. Tip Calculator App: Building an Android App with Java
  11. 5. Favorite Twitter® Searches App: SharedPreferences, Buttons, Nested Layouts, Intents AlertDialogs, Inflating XML Layouts and the Manifest File
  12. 6. Flag Quiz Game App: Assets, AssetManager, Tweened Animations, Handler, Menus and Logging Error Messages
  13. 7. Cannon Game App: Listening for Touches and Gestures, Manual Frame-By-Frame Animation, Graphics, Sound, Threading, SurfaceView and SurfaceHolder
  14. 8. SpotOn Game App: Property Animation, ViewPropertyAnimator, AnimatorListener, Thread-Safe Collections, Default SharedPreferences for an Activity
  15. 9. Doodlz App: Two-Dimensional Graphics, SensorManager, Multitouch Events and Toasts
  16. 10. Address Book App: ListActivity, AdapterViews, Adapters, Multiple Activities, SQLite, GUI Styles, Menu Resources and MenuInflater
  17. 11. Route Tracker App: Google Maps API, GPS, LocationManager, MapActivity, MapView and Overlay
  18. 12. Slideshow App: Gallery and Media Library Access, Built-In Content Providers, MediaPlayer, Image Transitions, Custom ListActivity Layouts and the View-Holder Pattern
  19. 13. Enhanced Slideshow App: Serializing Data, Taking Pictures with the Camera and Playing Video in a VideoView
  20. 14. Weather Viewer App: Web Services, JSON, Fragment, ListFragment, DialogFragment, ActionBar, Tabbed Navigation, App Widgets, Broadcast Intents and BroadcastReceivers
  21. Index
  22. Footnotes
    1. Preface
    2. Chapter 1
    3. Chapter 2
  23. Where are the Companion Content Files?

Product information

  • Title: Android™ for Programmers: An App-Driven Approach
  • Author(s): Paul J. Deitel, Harvey M. Deitel, Abbey Deitel, Michael Morgano
  • Release date: October 2011
  • Publisher(s): Pearson
  • ISBN: 9780132160261