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 How to Program, 2/e Cover

ISBN-13: 978-0-13-376403-1
ISBN-10: 0-13-376403-6
© 2015, pp. 728

Now Available!


Download Code
Examples and
Other Premium
Additional Resources
Android Studio SupplementsMinimize

With the exception of the Chapter 1 Android Studio Test Drive, the online supplements for using Android Studio have been delayed. We're recommending that our readers stay with the ADT Bundle (with Eclipse) for now. If you do want to use Android Studio, one reader recently told us that he was able to easily figure out the differences between Android Studio and Eclipse by following our Eclipse instructions.

Google no longer makes the SDK ADT Bundle IDE available from This bundle included Eclipse and all the Android tools required for development.

Our books' and videos' instructions are based on Eclipse. We've prepared a document that explains how to download and install Eclipse and the Android tools separately and integrate them to create the same IDE experience

As we explain in the document, Android Studio is now Google's prefered IDE for Android app development. Many readers have told us that they were able to easily determine the differences between our instructions for Eclipse and performing the corresponding tasks in Android Studio. 


Android How to Program, 2/e

(Coming Soon: Online supplements for using the book with Android Studio)

Millions of people worldwide have learned programming with Deitel® textbooks, professional books, LiveLessons video training and online resource centers. AndroidHow to Program, 2/e provides a clear and entertaining introduction to app development for both introductory- and intermediate-level courses. The book’s app-driven approach teaches each new technology in seven fully tested Android apps in the print book and more online, complete with code walkthroughs and sample outputs. Apps you’ll develop include Welcome App, Tip Calculator, Twitter® Searches, Flag Quiz, Cannon Game, Doodlz and Address Book. Features:

  • Android 4.3 and 4.4.
  • Eclipse-based Android Development Tools in the print book and Android Studio instructions online.
  • Supporting various screen sizes and resolutions.
  • Accessibility, internationalization, graphics.
  • Activities, Fragments, Intents, Preferences.
  • GUIs, layouts, menus, resource files, lists, adapters, event handling, touch and gesture processing.
  • Immersive mode, printing framework, PrintHelper.
  • Assets (images, audio), View animation.
  • Threading, collections, SQLite database.
  • Social sharing via implicit intents.
  • Google Play, app publishing, pricing, monetization, marketing, in-app advertising, in-app billing.
  • Java fundamentals, classes, objects, inheritance, polymorphism, interfaces, exception handling,
  • collections, events, threads.
  • Additional online app chapters (see Preface) cover: GPS and Google Maps, video, property animation, speech processing, Google Play game services. (These will be available for Fall 2014 classes.) 

Comments from Recent Editions Reviewers

"An outstanding textbook for the classroom. By the end of each chapter the reader will have created and tested a functional Android app while acquiring a working knowledge of the material. This is the most practical method to master any type of app development."—Dawn Wick, Southwestern Community College

"I used the First Edition. It contained a variety of well-documented apps and I made good use of the Java fundamentals section. The updates in the Second Edition truly add value. 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

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

"This is the quickest way to get comfortable writing apps for the #1 smartphone operating system." —Eric J. Bowden, COO, Safe Driving Systems, LLC

"The 'Characteristics of Great Apps' table is an excellent reference."—Jesus Ubaldo Quevedo-Torrero, U. of Wisconsin–Parkside

"One of the best Android books. Chapter 1 does an excellent job explaining the Android platform; I love the car analogy to explain object-oriented terms. Tip Calculator does a good job showing how to create a GUI—I like using the Outline window. 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 app-driven approach is unique—at the end of each chapter, you have at least 2–3 well-designed and functioning apps! The technical depth is excellent. The Flag Quiz app is interesting, engaging and shows important concepts like fragments, animations and resource qualifiers. The Cannon Game is fun—a great tool to demonstrate displaying moving objects on the screen."—Arijit Sengupta, Wright State University

"An excellent resource for learning how to create apps using the latest Android features. If you need more knowledge of Java, the book includes a 300-page introduction to Java programming. I like the variety and the range of difficulty of the programming exercises. You’ve done an excellent job explaining why you added the objects to the Tip Calculator layout and changed their properties as you did. The Twitter app is a great example to illustrate arrays, opening a website, creating key-value pairs, hiding the keyboard and interacting with the app. I appreciate the amount of documentation and resources."—Dawn Wick, Southwestern Community College

"Each app chapter shows how to write an app, explaining aspects of the SDK as they’re encountered. The Technologies Overviews are particularly nice. The Address Book app is a good intro to using a SQLite database."—Ian G. Clifton, Independent Contractor and Android App Developer

"Apps use Android 4.4 KitKat features, like printing and immersive mode. Covers the details a developer needs to be successful. The Welcome App chapter is very good; creating the project with no code is nice. I like that Twitter Searches uses the web to connect the user to Twitter. The Cannon Game brings the basic elements together for a game—animation, sounds, etc."—Jim Hathaway, Application Developer, Kellogg Company

"Chapter 1 is an excellent introduction to Android for novice programmers. I like how the authors present the goals of each app and provide an opportunity to test-drive it before describing its implementation. Nice discussion of intents and how these are needed to start activities. Cannon Game app is challenging, but well implemented and explained. Chapter 9, 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, U. of Wisconsin–Parkside

"I really like how accessibility is covered; this is generally an afterthought for most developers. Chapter 9 contains useful information that’s hard to find, particularly in respect to marketing—this is something that developers struggle to discover."—Michael Pardo, Mobiata

"I really enjoy the book. The Welcome app does a great job illustrating the Visual Layout Editor, building visual components without code.—Eric J. Bowden, COO, Safe Driving Systems, LLC

"The Tip Calculator is a pretty cool and useful app. The Flag Quiz app is one of my favorites, covering delayed events, View animations and string arrays; I like the use of the AssetManager. The XML declaration and explanation of the tweened flag-shake animation are nicely done. It’s great how the [online] Route Tracker app chapter puts so much useful mapping information in one place."—Dan Galpin, Android Advocate and author of Intro to Android Application Development

"A compelling set of topics presented in fun and instructive packages. Creates UI/layouts with a depth of detail I’ve not seen elsewhere. Covers key features such as fragments and the action bar. The Flag Quiz app is easy to follow and enjoyable—View animation adds a professional touch."—Sebastian Nykopp, Chief Architect, Reaktor

"I wish this book had been around when I started developing on Android. Welcome App covers a lot of ground showing layouts and some controls and preparing the way for resource internationalization. Flag Quiz app uses a variety of tools, such as collections, AlertDialog.Builder and animations. Property animators sure make the [online] SpotOn Game code straightforward. The [online] Slideshow app reinforces list handling and adapters. I haven’t seen any other books cover app publishing so well."—Douglas Jones, Senior Software Engineer, Fullpower Technologies

"Provides progressive training for learning some of the most useful APIs from the Android SDK."—Enrique López-Mañas, Lead Android Architect, Sixt, and Computer Science Teacher at the University of Alcalá in Madrid

Testimonials on the Java How to Program, 9/e Content (in the Appendices)

"A great textbook with a myriad of examples—excellent for CS1 courses."—William E. Duncan, LSU

"Best introductory textbook I’ve encountered. Wish I had this when I was learning how to program!"—Lance Andersen, Oracle

"Practical approach to teaching programming basics. Demystifies inheritance and polymorphism, and illustrates their use in getting elegant, simple and maintainable code."—Vinod Varma, Astro Infotech Private Limited

"Easy-to-follow examples provide great teaching opportunities!"—Sue McFarland Metzger, Villanova University

"The polymorphism and collections material is excellent for new students."—Peter Pilgrim, Java Champion, Consultant


Safari Trial Subscriptuon

Update :: January 20, 2020