Programming Books C Java PHP Python Learn more Browse Programming Books
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Android Programming Tutorials, 2nd Edition Paperback – March 1, 2010

See all formats and editions Hide other formats and editions
Amazon Price New from Used from
"Please retry"
$151.55 $151.06

Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 436 pages
  • Publisher: CommonsWare, LLC (March 1, 2010)
  • Language: English
  • ISBN-10: 0981678033
  • ISBN-13: 978-0981678030
  • Product Dimensions: 9.2 x 0.9 x 7.5 inches
  • Shipping Weight: 1.7 pounds
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Best Sellers Rank: #3,963,500 in Books (See Top 100 in Books)

Editorial Reviews

From the Publisher

Android Programming Tutorials is a collection of exercises that will have you build a pair of relatively sophisticated Android applications: a restaurant database and a Twitter client. The goal of the tutorials is to expose you to a wide range of Android capabilities in the context of a larger application, rather than standalone demonstrations like a programming guide might profile.

Each exercise is a set of step-by-step instructions on how to add different features and functions. There is only a bit of theory presented, focusing instead of having you "learn by doing". Each exercise contains pointers for further reading, along with "extra credit" tasks you might wish to try, to experiment in areas beyond what the step-by-step instructions supply. Hence, this book is geared for people who like working through code, but want guidance along the way.

These tutorials cover many major areas of Android application development, including:

Setting up basic user interfaces, with fields, buttons, lists, tabs, and radio buttons
Adding option menus
Supporting both portrait and landscape orientations, with custom user interfaces for each
Storing data in local databases
Collecting preferences from the user and applying those preferences
Working with background threads
Having multiple screens ("activities") in a single application, linked to each other
Accessing Web services via your own HTTP client code or via existing third-party JARs that somebody else wrote to access a service's API
Setting up Android components decoupled from their user interfaces ("services"), including allowing a service in one application to serve clients in other applications
Putting icons in the status bar ("notifications")
Integrating location tracking and Google Maps
Embedding a WebKit Web browser (e.g., for online help)
Incorporating video playback (e.g., for a screencast to accompany the online help)
Animating our user interface, to allow portions of it to fade in or out based on user request
Creating "app widgets" - bits of our UI that can go on the user's home screen
Integrating with the camera and accelerometer

The source code for this book is available from the CommonsWare Web site and is open source, so you can do with it whatever you wish within the license terms.

And, if you have any questions about the book or the exercises, join the [cw-android] Google Group, and we will be happy to help!

The CommonsWare Combo

These tutorials are used as part of the author's live training, so hundreds of students in dozens of classes have gone through these as part of those events. Their feedback, plus the feedback of the readers of the print and digital editions of the book, have helped refine and shape the tutorials. This 2nd Edition reflects those least, those changes that have been made by the time this book went to print.

That's the problem with print books: they're static. While Android Programming Tutorials is updated every few months in digital form, the print edition remains fixed for much longer. Usually, you have to make a decision when buying a book - do you want the print edition or the digital edition?

With this book, you do not have to make that choice.

Purchasers of this book may qualify for free digital editions of this book, as part of a "CommonsWare Combo". This gives you the benefit of the print copy, plus you get access to the latest digital edition and all of its updates, such as to take into account new Android SDK releases.

This "combo" not only gives you access to the digital edition of this book, but access to digital editions of every CommonsWare book, including The Busy Coder's Guide to Android Development and The Busy Coder's Guide to Advanced Android Development. What you really get is a one-month Warescription and all the benefits of that program, albeit for a short period of time.

To see how you may qualify for the CommonsWare Combo, visit the CommonsWare Web site and click on the Warescription link.

More About the Author

Mark Murphy is the founder of CommonsWare and the author of the Busy Coder's Guide to Android Development and other books on Android application development. He is active in supporting the Android developer community, from answering questions on StackOverflow to publishing sample code and reusable components as open source.

A three-time entrepreneur, his experience ranges from consulting on open source and collaborative development for the Fortune 500 to application development on just about anything smaller than a mainframe. He has been a software developer for over 25 years, from the TRS-80 to the latest crop of mobile devices. A polished speaker, Mr. Murphy has delivered conference presentations and training sessions on a wide array of topics internationally.

Customer Reviews

5.0 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See the customer review
Share your thoughts with other customers

Most Helpful Customer Reviews

5 of 6 people found the following review helpful By Alex P. VINE VOICE on May 24, 2010
Format: Paperback Verified Purchase
My only complaint is the page numbers are in the center and makes it harder when searching for a specific page.

Otherwise the book has some good code examples in it that helps fill in the gaps on the SDK examples. It has already helped answer a couple of questions I had without having to go write code to test things out to see how they work.
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again