When we set out to write the first version of this book, many friends and family wondered just what this Android thing was all about. Now, two years after the publication of the first edition, Android is nearly a household term.
The first edition of the book, Unlocking Android, enjoyed enough success that we were privileged to have the opportunity to write this second edition, renamed as Android in Action. The first thirteen chapters of the book have been refreshed and/or rewritten to bring the content up to date with Android 2.2+. Six chapters were added, bringing in more topics of interest that stray from the simplistic but are still within the realm of instructional and informational. The new content extends beyond the basics of Android development, including some topics that I’ve envisioned for a long time but lacked the proper platform to bring them to fruition. We could have written many more chapters, but we had to draw the line somewhere!
The second edition of this book was written by Frank Ableson, Robi Sen, and Chris King. Chris updated chapters 4, 5, 7, and 11. Some excellent content originally written by Charlie Collins remains in this second edition. Early on in the project Chris and I were discussing the need to bring social networking into the book. Chris examined the available social networks and came back with a clever mechanism to integrate the Android contacts database with the popular business networking service LinkedIn. His work is shown in chapter 15, “Integration.” The application from chapter 15 is available as a free download in the Android Market.
Robi updated his chapters on notifications, graphics, and media, while I focused on some new content areas of interest, including Bluetooth communications, sensors, localization, AppWidgets, native development in C, and web development for Android.