The Deitels' App-Driven, Live Code Approach is simply the best way to master Android programming! The Deitels teach Android programming through twelve complete, working Android Apps. Each chapter presents new concepts through a single App. The authors first discuss what the App does, show screen shots, test drive the App, and present an overview of the technologies and architecture used to build it. Next, the authors walk through building the App, presenting complete code and providing a detailed "Live Code" walkthrough. As part of the code walkthrough, they discuss essential programming concepts, and demonstrate the functionality of relevant Android 2.x APIs. Readers will gain hands-on experience with a wide spectrum of essential Android APIs. The book also has an extensive introduction to programming using the Java language, making this book appropriate for Java courses that want to add an app-programming flavor.
- 1 Introduction to Android
- 2 Android Market and App Business Issues
- 3 Welcome App
- 4 Tip Calculator App
- 5 Favorite Twitter® Searches App
- 6 Flag Quiz Game App
- 7 Cannon Game App
- 8 SpotOn Game App
- 9 Doodlz App
- 10 Address Book App
- 11 Route Tracker App
- 12 Slideshow App
- 13 Enhanced Slideshow App
- 14 Weather Viewer App
Appendices
- A Introduction to Java Applications
- B Introduction to Classes, Objects, Methods and Strings
- C Control Statements
- D Methods: A Deeper Look
- E Arrays and ArrayLists
- F Classes and Objects: A Deeper Look
- G Object-Oriented Programming: Inheritance and Polymorphism
- H Exception Handling: A Deeper Look
- I GUI Components and Event Handling
- J Other Topics
- K Operator Precedence Chart
- L Primitive Types
Index
Key Features
- App-driven approach. Concepts are presented in the context of 12 complete working Android apps in the print book and several more online. Each of the app chapters begins with an introduction to the app, an app test-drive showing one or more sample executions and a technologies overview. Then a detailed code walkthrough of the app’s source code discusses the programming concepts and demonstrates the functionality of the Android APIs used in the app.
- Android Smartphone Apps. The Deitels cover many of the features included in the Android Software Development Kit (SDK), including Bluetooth, Google Maps, the Camera APIs, graphics APIs and support for multiple screen sizes and resolutions.
- Android Tablet Apps. The authors cover many Android features for developing tablet apps, including property animation, action bar and fragments.
- Android Maps APIs. The Route Tracker App uses the Android Maps APIs which allow you to incorporate Google™ Maps in your app. Before developing any app using the Maps APIs, you must agree to the Android Maps APIs Terms of Service (including the related Legal Notices and Privacy Policy) at code.google.com/android/maps-api-tos.pdf
- Eclipse. The free Eclipse integrated development environment (IDE) combined with the free Android SDK and the free Java Development Kit (JDK), provide everything you’ll need to develop and test Android apps.
- Testing on Android SmartPhones, Tablets and the Android Emulator. For the best experience in this course, you should test your apps on actual Android smartphones and tablets. But you can still have a meaningful experience just using the Android emulator (see the Before You Begin section).
- Multimedia. The apps use a broad range of Android multimedia capabilities, including graphics, images, frame-by-frame animation, property animation, audio, video, speech synthesis and speech recognition.
- Android Best Practices. The authors adhere to accepted Android best practices, pointing them out in the detailed code walkthroughs.
- Web Services. Web services allow you to use the web as an extraordinary collection of services–many of which are free. The exercises encourage you to explore the vast array of available web services.
- (Early Objects) Java Content Can Be Used With Java SE 6 or Java SE 7. The Java Standard Edition (SE) 7 features are in modular easy-to-include-or-omit sections. Studying objects and classes early helps novice readers master these concepts more thoroughly before attempting the object-oriented Android material.
- Exception Handling. The Deitelsintegrate basic exception handling early in the Java content then present a richer treatment in Appendix H.
- Classes Arrays and ArrayList Collections. Appendix E covers class Arrays– which contains methods for performing common array manipulations–and generic class ArrayList–which implements a dynamically resizable array-like data structure. Appendix J introduces Java’s generic collections that are used frequently in our Android treatment and for which Android has some similar classes.
- Multithreading. Maintaining app responsiveness is a key to building robust Android apps and requires extensive use of Android multithreading. Appendix J introduces multithreading fundamentals, showing the features that we use in several of our Android apps. In addition, the authors present Java’s SwingWorker class for multithreading in GUI apps. Android’s AsyncTask class, which is used in several of our Android apps, closely parallels the SwingWorker class.
- GUI Presentation. Appendix I introduces Java GUI development. Android provides its own GUI components, so this appendix presents only a few Java GUI components, focussing on event-handling techniques that are used in all Android GUIs. The appendix introduces nested classes and anonymous inner classes, which are frequently used in Android programming.
- The Student Companion Website contains the following resources: Additional app-development chapters; and Source code for the examples in the book.
About the Authors
- Paul J. Deitel, CEO and Chief Technical Officer of Deitel & Associates, Inc., is a graduate of the MIT Sloan School of Management, where he studied Information Technology. He holds the¿Java Certified Programmer and¿Java Certified Developer professional certifications, and has been designated by Sun Microsystems as a Java Champion—"a prominent member of the Java community whose input is solicited by the company in order to improve the Java platform." He has delivered programming language courses to clients including numerous Fortune 1000 companies, government organizations and the military. Paul is one of the world's most experienced corporate trainers. He has also lectured on C and Java for the Boston Chapter of the Association for Computing Machinery. The Deitels are the world's best-selling programming language textbook authors.
- Dr. Harvey M. Deitel, Chairman and Chief Strategy Officer of Deitel & Associates, Inc., has 46 years of academic and industry experience in the¿computer field. Dr. Deitel earned B.S. and M.S. degrees from the Massachusetts Institute of¿Technology and a Ph.D. from Boston University. He has 20 years of college teaching experience, including earning tenure and serving as the Chairman of the¿Computer Science Department at Boston College before founding Deitel & Associates, Inc. He and Paul are the co-authors of several dozen books and multimedia packages. With translations published in many languages, the Deitels' texts have earned international recognition and are used in over 150 countries. Dr. Deitel has delivered hundreds of professional seminars to major corporations, academic institutions, government organizations and the military.
Book Details
- Paperback: 850 pages
- Publisher: Prentice Hall; 1 edition (February 18, 2012)
- Language: English
- ISBN-10: 0132990547
- ISBN-13: 978-0132990547
- Product Dimensions: 9.1 x 6.9 x 1.2 inches
List Price: $128.00