Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Full Color!

In just 24 sessions of one hour or less, learn how to build powerful applications for the world’s first complete, open, and free mobile platform: Android. Using this book’s straightforward, step-by-step approach, you’ll build a fully-featured Android application from the ground up and master the skills you need to design, develop, test, and publish powerful applications. Each lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success!

Step-by-step instructions carefully walk you through the most common Android development tasks.

Quizzes and Exercises at the end of each chapter help you test your knowledge.

By the Way notes present interesting information related to the discussion.

Did You Know? tips offer advice or show you easier ways to perform tasks.

Watch Out! cautions alert you to possible problems and give you advice on how to avoid them.

Learn how to…

  • Develop Android applications quickly and successfully with Java

  • Master Google’s Android SDK and development tools

  • Leverage the Eclipse programming environment to develop Android projects

  • Understand the Android application lifecycle

  • Build effective, user-friendly user interfaces

  • Retrieve, store, and work with application data

  • Develop powerful network applications

  • Add popular social features and location-based services to your applications

  • Take advantage of Android device hardware like the camera

  • Internationalize, test, and publish your Android applications

Subscriber Reviews

Average Rating: 3.125 out of 5 rating Based on 8 Ratings

"Good book on android" - by Ankush Chakraborty on 16-APR-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Excelent
Report as Inappropriate

"Good Introduction" - by Dmitriy on 07-JUN-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book is for:
This book provides a good introduction to android app development, just like it promises. This book is good if you have never developed any applications and are completely clueless bout XML and interface design.

Good parts:
I liked that the book goes over the app development process from start to finish.
A good introduction to android SDK and eclipse.

Some problems:
The solutions written in the book and the actual code provided are not always the same.
There are some bugs in the code but if you know a little bit of java you can find the solution.

Report as Inappropriate

"After first 6 "hours", unimpressed" - by Tim on 10-JAN-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Incomplete is the first word that comes to mind.

The very beginning, installing and configuring the development environment, gets a 1-paragraph "aside" box, with a link to an appendix. The history of Android gets more in depth information.

Not a word on even introductory Java programming essentials. Apparently it's assumed you're already a Java programmer before you decided to write for Android. Probably why they suggested you install the Eclipse IDE for Java Enterprise Edition, when Android's SDK page suggests Java Standard Edition (really? If you're NEW to Java you should install the ENTERPRISE development edition?)

The portion on "Working with the Android Manifest" includes a good half-dozen screenshots, which would be legible if the book included a magnifying glass. One paragraph "descriptions" accompany.

The book doesn't even get into adding standard items like text input boxes until lesson/hour 8 - two lessons after "adding an animated splash screen".

Really? Animated splash screen is more important to learn than input/output forms?

Report as Inappropriate

"Definately NOT for beginners" - by Anonymous on 05-JAN-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This books does a nice job of going thru all of the steps required to get and android environment running, and it discusses many of the most used widgets and programming techniques. However the authors routinely assume that the reader understands many of the java concepts and jargon. As soon as I reached the chapter on actually programming, I was lost and had to go on the net to get a good explanation of intents. Many of pages read like "put this in you activity, or put this in your resource file without any explanation on how to do it. There is a critical lack of java and xml code to go with the explanations. This may be a very good reference book for an experienced java programming wanting to get into android. It is not a good book for someone learning java like myself. Unfortunately the opening chapter lead me to believe it was for newbies, which it is not.    
Report as Inappropriate

"But where's the code?" - by Engywook on 16-NOV-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
As an example of what's wrong with this book, here's an exercise at the end of chapter 4:

"Add a raw text file resource to the Droid1 project. Use the openRawResource()
method to create an InputStream object and read the file. Output the contents of the file to the log by using the Log.v() method. Rerun the application
and view the result."

The only thing that's said in the chapter about the InputStream object is this:

"InputStream iFile=getResources().openRawResource(R.file.file1);"

iFile is not a string, and thus cannot be printed with the Log.v method. There is nothing to indicate what you do to get the contents of the file to a string.

The author says that learning to build Android apps is a good way to learn Java. But there is no Java taught in this book. At the very least, I hope subsequent editions contain solutions to the workshop activities somewhere... :(

Report as Inappropriate

Table of Contents

 Index

Extras

The publisher has provided additional content related to this title.


Description
Content

These files have been provided by the publisher.

  • Chapter06code.zip
  • Chapter07code.zip
  • Chapter08code.zip
  • Chapter09code.zip
  • Chapter10code.zip
  • Chapter11code.zip
  • Chapter12code.zip
  • Chapter13code.zip
  • Chapter14code.zip
  • Chapter15_16code.zip
  • Chapter17code.zip
  • Chapter18code.zip
  • Chapter19code.zip
  • Chapter20code.zip
  • Chapter22code.zip