31 of 31 people found the following review helpful
A good book in you put the work in.,
This review is from: Android Application Development For Dummies (For Dummies (Computers)) (Paperback)
This is a good if flawed book. If you are new to programming you will have a hard time getting through this book without any additional help. An experienced programmer will find it a comprehensive introduction, but have the occasional frustrating time with the example code.
Being called a "Dummies" book suggests it'll take you from the ground up, in regards to Android this is true, in regards to Application Development a certain level of knowledge is assumed and there is no mention on the book's cover of the need to know Java and XML, those requirements are mentioned in fifth paragraph of the intro. Therefore total beginners will need to wade through a Java and XML book before tackling this one. Yet the text is a contradiction at points, it assumes you know Java but holds your hand in showing you how to get hold of the Java SDK, surely a Java programmer would know about the SDK already. It's a "Dummies" book yet none of the Android SDK helper screens are discussed or used, all the XML is hand typed (or copied over from the downloaded source code). It is a similar issue with the programming environment. The Eclipse IDE is powerful and flexible, but first time Eclipse users, like me, will feel lost until you get used to it. An Appendix giving a quick overview of Eclipse would have helped greatly.
Whilst the book blurb does not mention the need for previous programming experience it does mention on the rear "cool ways to use the accelerometer in your app", but there is no code in the book to do that, merely a link to an open source program.
It's not until page 76 that the ubiquitous "hello, world" program is running. So that's 76 pages before you are running anything. Having said that the programs that follow do give you a good grounding in the aspects of Android that are needed to develop a full featured App and publish it to the Marketplace. The main example application that is developed in the book does get bogged down occasionally with pages of code to type out (or copy across) but not much to show for it. If like me you type code in from the book to aid learning you need to be careful as it is easy to miss something and sit scratching your head trying to comprehend the error messages in Eclipse. Although going back over the text and code eventually finds the issue, though beginners could slip up when following the text as some things are assumed based on previous chapters, e.g. adding the import statement for external classes.
There are a handful of errors in the book, some not the responsibility of the author because although this is a new book the Android SDK has already been revised and as a result some of the screen shots in the book are out of date. However, the author has an active blog and publishes updates to his book there.
In summary a good book if you're prepared to put in the work but room for improvement if they produce a future second edition. If you know what a callback is and how to define one within the parameters of a call to another function you'll do fine with this book, if you don't know then you may be better looking at the Android AppInventor site to learn how to program you cell phone.