Channels ▼

Mike Riley

Dr. Dobb's Bloggers

Professional Android 2 Application Development Book Review

March 28, 2010

I have read almost every book published on Android application development, several of which I have reviewed for Dr Dobbs. Wiley (under the Wrox imprint) has published author Reto Meier's Android book (essentially his second edition of his original Professional Android Application Development). In Pro Android 2, the author expounds upon his initial release to explore and leverage the new features in the 2.x Android OS. Is this book better than the other Android books on the market? Read on to find out.Like a number of Android titles on the market today, Professional Android 2 Application Development assumes that readers already know basic Java programming and are familiar with other application development technologies like the Eclipse IDE.

Readers begin with a convincing comparison of why Android is a better platform to develop compared to other mobile OS platforms. They also receive an overview of the Android stack, Android Eclipse plug-ins, SDK and setting up the development environment. After constructing the obligatory Hello World examples, readers are introduced to understanding applications, activities, layouts, menus and other resources. User interfaces are constructed in Chapter 4, with the next chapter covering adapters, broadcast receivers and intents. Managing files, reading/writing program preferences, manipulating Android's SQLite-managed data, location-based services (i.e., GPS data capture and map making), creating and managing services (apps that can be set up as background processes, something iPhone developers have been chomping at the bit to be able to do on that platform), authoring widgets, using Android's audio-visual stack (camera, audio/video capture and playback), handling MMS and SMS messages, controlling the bluetooth and WiFi radios and the related connectivity manager as well as collecting and processing sensor data (predominantly from the accelerometer found in most commercial Android hardware implementations). Chapter 15, the final chapter, concludes with nearly 50 pages of advanced topics such as using wake locks, using the Android Interface Definition Language (AIDL) to support interprocess communications (IPC's), creating more sophisticated tweened animations and other canvas drawing, surface views and interactive controls. Conspicuously absent was a chapter or discussion on power management (checking battery state, the importance of not abusing services, etc.), a topic that remains a persistent concern among developers and users alike. I did like the fact that the publisher did not cut back on code listings. While the choice to reprint snippets and refer readers to download the full source from the book's website could have been an option, the decision to reprint a good portion of the sample code was smart and adds immensely to the comprehension process so critical when learning something new.

Given the author's proximity to the Android development team at Google (Reto works for Google as an Android evangelist), I was hoping to see sidebars, call-outs and other highlights featuring key staff on the Google Android team sharing their thoughts on best use cases for certain libraries or reasons behind design constraints in the current version of the OS. Such insights would have (perhaps unfairly) elevated this book well above other Android development titles on the market. While some may assert that these off-track threads would be distracting in a programming tutorial book, I disagree. By understanding the thinking behind why one approach was optioned over another helps to provide me with a better, more cohesive and informed understanding of why certain choices were made… even if these choices revolve around 'inside baseball' conversations.

Even with these minor criticisms, Reto Meier's Professional Android 2 Application Development delivers an excellent foundation for building a solid understanding of the Android development stack. While it is not the most exhaustive Android programming title on the market (that award currently goes to Android consultant Mark Murphy and his comprehensive, accurate and most up-to-date Android books in my opinion), Professional Android 2 Application Development supplies enough essential information that will empower readers with the ability to easily and confidently build a variety of Android programs.

Title: Professional Android 2 Application Development Author: Reto Meier Publisher: Wiley Publishing ISBN: 978-0-470-56552-0 Pages: 576 Price: $44.99 US

Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 


Video