Android for Programmers: An App-Driven Approach (Deitel Developer Series)
“I really love what you’re doing with the book. It has the potential to become the best Android book on themarket. It’s impressive to see so many well-explained useful examples of Android patterns. The coverage of recent Honeycomb-specific APIs such as ViewPropertyAnimator and resizeable AppWidgets makes this work especially current.”—Dan Galpin, Android Advocate and author of Intro to Android Application Development “I really like that this is aiming to stay up-to-date with Android 3 and be the most current book possible by covering key Android 3 features such as property animation, fragments, the ActionBar, tabbed navigation and more. I haven’t seen any other books cover app publishing so well and the links provided throughout are an impressive collection that I think would be valuable to anyone getting started. You get full applications that show multiple parts of the APIs working together. I wish this book had been around when I started developing on Android.”—Douglas Jones, Senior Software Engineer, Fullpower Technologies “This is the book for developers interested in starting Android application development. While the target of Android for Programmers is people with some development experience, even novices will find this book an interesting read and it will speed their immersion into Android development. The book starts by describing the Android development environment. Then each chapter introduces a core aspect of the Android platform by briefly explaining the topic, then illustrating the capability with working code. The sample apps demonstrate the topics of each chapter, which easily can be applied to your own projects. By far, this is the quickest way to get comfortable writing applications for the #1 smartphone operating system. I really enjoy the book.”—Eric J. Bowden, COO, Safe Driving Systems, LLC “Takes the ideal approach of teaching you the Android SDK through actual use. Rather than regurgitate the API documentation, this book shows you how to write an app in every chapter, explaining each aspect of the SDK as it’s encountered. Some apps are built from scratch; others expand on the apps in previous chapters, iterating on the code to implement new functionality. The full source code is available, so you can see how the SDK is really used. Teaches you all the Android essentials from layouts to sensors and even on to features added in Honeycomb such as property animation, tabbed navigation with the ActionBar, fragments and web services with JsonReader. 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, Independent Contractor and Android App Developer “With the increasing scope of Android, getting up to speed can be a challenge. This book addresses a compelling set of topics, presenting them in self-contained packages that are fun and instructive. The coverage of key Android 3 features such as fragments, resizable App Widgets and the Action Bar is interesting. For tablet-oriented app development, familiarity with these tools is essential. Creates UI/layouts with a depth of detail I’ve not seen elsewhere.”—Sebastian Nykopp, Chief Architect, Reaktor “TheWelcome applooks solid; great to see the integration of the new layout editor. TheTip Calculator appis a pretty cool example and definitely a useful app; I love the deeper coverage of the lifecycle. TheFavorite Twitter Searches appis a good way to demonstrate ScrollView. TheFlag Quiz appis one of my favorites, covering delayed events, View animations and string arrays; I like the use of the AssetManager for the flags. The XML declaration and explanation of the tweened flag-shake animation is nicely done. TheSpotOn Game appis one of my favorites; it does an excellent job in covering the new Honeycomb+ property animations, and uses them in a creative way to build a surprisingly fun little game. Nice job of keeping the database queries out of the UI thread in theAddress Book app. It’s great how theRoute Tracker appchapter puts so much useful MapView information in one place.Slideshowis a beautiful app.”—Dan Galpin, Android Advocate and author of Intro to Android Application Development “TheWelcome appdoes a great job illustrating the Visual Layout Editor; I liked the approach of building visual components without code; this makes it easy to experiment with other properties to customize the look of the app. There’s a lot of time spent on theTip Calculator appUI in the Visual Layout Editor—the line-by-line explanations of the code are extremely valuable; this is a solid introduction to how Android works.Favorite Twitter Searchestaught me things I didn’t know. TheFlag Quiz appis a great chapter; clearly written, and I particularly appreciated the completeness of the code comments. TheCannon Game appis a nice introduction to animation. TheSpotOn Game appdid a great job introducing Android 3+; in a lot of ways, Google has separated Android 2.x and 3.x by intended use (i.e. phone vs. tablet); this chapter introduces some of those concepts and helps the software developer understand some of the SDK differences. TheDoodlz appchapter uses great examples to illustrate the concepts. TheAddress Book appis a good introduction to SQLite databases. The introduction to the camera in theEnhanced Slideshow appchapter is valuable information.”—Eric J. Bowden, COO, Safe Driving Systems, LLC “The Intro chapter gives a solid overview of Android. TheWelcome appchapter is a nice intro to layouts, keeping it simple, while still using a common layout (RelativeLayout) and explaining the resulting XML.Favorite Twitter Searches appis a great chapter that introduces a lot of new (core) concepts. The app descriptions give a clear understanding of what is being built and the technologies overviews are particularly nice; the colored highlighting is helpful. TheSpotOn Game appis a great intro to 3.x animation and produces a fun game without a lot of code.Doodlzis a great app—anyone can identify with it and it gives readers a chance to learn about Android. TheAddress Book appis a good intro to some key aspects of Android programs (in particular, launching other Activities and utilizing a SQLite database). TheRoute Tracker appchapter is excellent.”—Ian G. Clifton, Independent Contractor and Android App Developer “One of the most comprehensive intro chapters I have read, especially the number and variety of links to outside sources. I like theWelcome appas a way to get the reader’s feet wet; it breaks them into Eclipse and it gets them making something without Java code. TheTip Calculator appUI highlights the tricky cases of TableLayout and TableRow. TheFavorite Twitter Searches appdoes a good job of introducing important UI skills, especially using the LayoutInflater and the ScrollView to programmatically add UI elements. TheFlag Quiz appchapter does a good job of showing a variety of tools, such as collections, DialogBuilder options and animations; the method used to handle all the data is a good one. Those property animators sure make theSpotOn Game appcode straightforward; well done. TheRoute Trackeris a solid example of a location and map app. TheSlideshow appreinforces list handling and adapters. I like the intro to serialization in theEnhanced Slideshow app.”—Douglas Jones, Senior Software Engineer, Fullpower Technologies “Good intro to overall Android, Java and OO concepts.”—Ronan “Zero” Schwarz (CIO, OpenIntents) “A good intro to Android platform capabilities and online resources for getting into Android development; a valuable timesaver, particularly with the increasing amount of available Android information; the walkthrough for getting an app running in the emulator is easy to follow. TheFlag Quiz appchapter is easy to follow and quite enjoyable; clear description of key UI elements; good that the distinction between assets/ and res/ is presented; nice that View animation is included in an example relevant to the app (adds a professional touch); the yellow code highlighting works well. TheAddress Book appchapter is a good introduction to CRUD [create, read, update and delete] apps. TheRoute Tracker appchapter is an easy introduction to location tracking. TheEnhanced Slideshow appis a straightforward demonstration on how to use the camera and display video in an application.”—Sebastian Nykopp, Chief Architect, Reaktor