Developers: Learn a New Programming Language or App Development with Deitel LiveLessons Videos!
Login  |  Register  |  Media Kit  |  Press  |  Contact Us  |   Twitter Become a Deitel Fan on Facebook  
Custom Search
Android for Programmers, 3/e Cover

ISBN-13: 978-0-13-428936-6
ISBN-10: 0-13-428936-6
© 2016, pp. ~400

Order now at

Download Code
Examples and
Other Content
Additional Resources
Android 6 for Programmers, 3/eMinimize

The new edition uses Android Studio 1.4 and Android 6.0. subscribers can access the book at at

Note that Google changed the application templates in Android Studio 1.4. We'll be updating the apps in all the chapters currently on Safari to use the new templates.

The professional programmer’s Deitel® guide to
smartphone and tablet app development using
Android™ 6 and Android Studio

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

  • Welcome App
  • Cannon Game
  • Tip Calculator
  • Weather Viewer
  • Flag Quiz
  • Twitter® Searches
  • Doodlz
  • Address Book

Practical, Example-Rich Coverage of:

  • Android 6, Android Studio: Gradle™, Vector Asset Studio, Theme Editor
  • Material Design App Templates and Themes
  • AppCompat Library, Android Design Support Library, RecyclerView, FloatingActionButton, TextInputLayout
  • Material Design Elevation and Icons
  • REST Web Services/JSON, Threading, SQLite™ Database, Android 6 Permissions
  • Cursors, Loaders, ContentProviders
  • Supporting Various Screen Sizes/Resolutions
  • Accessibility, Internationalization
  • Activities, Fragments, Intents, Preferences
  • GUIs, Layouts, Menus, Resource Files, Events, Touch/Gesture Processing, Images, Audio, Graphics, Animation
  • Immersive Mode, PrintHelper
  • Google Play™ Store, App Publishing, Pricing, Marketing, In-App Advertising, In-App Billing, Virtual Goods and more 


Takes the best from the second edition and extends it with Android 6, the Android Studio IDE and material design. Presents fully functional apps ready to deploy, and covered under the Creative Commons license. From game development, REST, intents, material design, printing, navigating Android Studio and the Android 6 permissions model, this book has something for everyone.—Jim Hathaway, Application Developer, Kellogg Company

Android 6 for Programmers: An App-Driven Approach will get you up and running with the latest Android version in no time. The book guides you step-by-step in developing real working apps that you use to learn key concepts that can then be used as the basis of your next great app. Covers the important steps required in creating, designing, coding and running real apps using the latest platform, tools, components, and design guidelines.—Luis Ramirez, Lead Android Engineer at Reverb

I really love what you’re doing with the book. It has the potential to become the best Android book on the market. It’s impressive to see so many well-explained useful examples of Android patterns.—Dan Galpin, Android Advocate and author of Intro to Android Application Development

I wish this book had been around when I started developing on Android. I haven’t seen any other books cover app publishing so well and the links provided are an impressive collection. You get full applications that show multiple parts of the APIs working together.’’—Douglas Jones, Senior Software Engineer, Fullpower Technologies

By far, this is the quickest way to get comfortable writing applications for the #1 mobile operating system. I really enjoy the book. While the target audience is people with some development experience, even novices will find this book an interesting read and it will speed their immersion into Android development. Each chapter introduces a core aspect of the Android platform by illustrating the capability with working code. The sample apps demonstrate the topics of each chapter, which easily can be applied to your own projects.—Eric J. Bowden, COO, Safe Driving Systems, LLC

Teaches you the Android SDK through actual use. Shows you how to write a new app in every chapter, explaining each aspect of the SDK as it’s encountered. Whether you’ve never touched Android or you have some apps under your belt already, this book is definitely worth picking up.’’—Ian G. Clifton, Author of Android User Interface Design: Implementing Material Design for Developers, Second Edition

The authors captured the right mix of Android enhancements and masterfully wove them into solid, practical apps. Great job!—Chuck Lasky, Northern Virginia Community College

The ‘Characteristics of Great Apps’ table is excellent.—Jesus Ubaldo Quevedo-Torrero, University of Wisconsin—Parkside

Addresses a compelling set of topics in a fun and instructive way. Creates UI/layouts with a depth I’ve not seen elsewhere. The Flag Quiz app is enjoyable—View animation adds a professional touch; clear description of key UI elements. The Address Book chapter is a good introduction to CRUD-type apps.—Sebastian Nykopp, Chief Architect, Reaktor

The Welcome app looks solid; great to see the integration of the layout editor. The Tip Calculator app is pretty cool; I love the deeper coverage of the lifecycle. The Flag Quiz app is one of my favorites, covering delayed events, View animations and string arrays; I like the use of the As setManager for the flags. The XML declaration and explanation of the tweened flag-shake animation are nicely done. Nice job of keeping thedatabase queries out of the UI thread in the Address Book app.”—Dan Galpin, Android Advocate and author of Intro to Android Application Development

Great job illustrating the Visual Layout Editor; I liked the approach of creating a project then building visual components without code; this makes it easy to experiment with other properties to customize the look of the app. The line-by-line explanations of the code are extremely valuable. Twitter Searches taught me things I didn’t know. The Flag Quiz app is a great chapter. The Cannon Game app is a nice introduction to animation. The Address Book app is a good introduction to database access on the Android platform that presents the structures required for SQLite databases.—Eric J. Bowden, COO, Safe Driving Systems, LLC

The Technologies Overviews are particularly nice. The Welcome app chapter is a nice intro to layouts, keeping it simple, while still using a common layout. Doodlz is a great app—anyone can identify with it. The Address Book app is a good intro to launching other Activities and utilizing a SQLite database.—Ian G. Clifton, Independent Contractor and Android App Developer

Chapter 1 is an easy introduction; thanks to the link to one of the blogs, I found an alternate emulator. The Welcome app shows layouts and some controls and prepares the way for resource internationalization. Flag Quiz uses a variety of tools, such as collections, AlertDialog.Builder and animations. I like the configuration check for screen size to set the orientation of the Doodlz app.—Douglas Jones, Senior Software Engineer, Fullpower Technologies

One of the best Android books. I like using the Component Tree window to build GUIs. I’ve never published an app, but after seeing how easy it is, I have a couple that I’m considering publishing.—Tony Cantrell, Georgia Northwestern Technical College

The Flag Quiz app is engaging and shows important concepts like fragments, animations and resource qualifiers. The Cannon Game is fun—a great way to demonstrate moving objects on the screen.—Arijit Sengupta, Wright State University

In each chapter the reader creates a functional app while acquiring a working knowledge of the material. This is the most practical method to master app development. The Twitter Searches app is a great example to illustrate arrays, opening a website, creating key-value pairs, hiding the keyboard and interacting with the app.—Dawn Wick, Southwestern Community College

The Before You Begin section has all the steps required to get someone up and going with Android Studio. I had no problems following the steps in the Chapter 1 test-drive and getting the tip calculator app running on multiple AVDs from Android Studio. I like the simplicity of the Tip Calculator app and how many new concepts were covered. The code was well written with great tips and watch-outs—for example: keeping the onCreate method small to speed up application launch. The Flag Quiz app chapter and its code are great—I like the addition of logging. The Doodlz app did a good job introducing new items, including the Android 6 permissions model. I really like the refinements to the Cannon Game app, especially making the game loop perform at a normalized speed across devices.—Jim Hathaway, Application Developer, Kellogg Company

I really like how accessibility is covered early; this is generally an afterthought for most developers. Chapter 10 contains useful information that’s hard to find, particularly app marketing.—Michael Pardo, Mobiata

Nice discussion of intents and how these are needed to start activities. Chapter 10, Google Play and App Business Issues, is perfect—the information about market shares and tools to convert Android apps into iOS apps is very motivating.—Jesus Ubaldo Quevedo-Torrero, University of Wisconsin–Parkside

The stats on Android’s growth and success will excite the user. The Chapter 1 test-drive provides a very clear and detailed walkthrough of setting up an AVD and getting the sample app up and running. The Welcome app provides a well-paced intro to getting started with Android. Building a simple GUI with just XML and no code is a great way to focus on key concepts needed to build Android apps. I like that the chapter introduced resource qualifiers and localization which are advanced features a newcomer may not need immediately but should at least be aware of so they’re following good practices right off the bat. Doodlz is a fun and engaging app that users will be able to use as the basis for some really cool projects. The walkthrough of doing custom drawing is excellent.—Luis Ramirez, Lead Android Engineer at Reverb

The Welcome app chapter covers a lot but it’s not overwhelming and a lot of good habits are laid out with respect to internationalization, localization and accessibility support. The Doodlz app has a nice view into going custom on controls, widgets, and sensors. I like the new structure of the game loop in the Cannon Game app. The WeatherViewer app chapter has an excellent description of proper list usage. The Twitter Searches app provides a good overview of the RecyclerView.—Douglas Jones, Senior Software Engineer, Fullpower Technologies


Safari Trial Subscriptuon

Update :: January 17, 2020