small medium large xlarge

Errata for Hello, Android (3rd edition)


The latest version of the book is P9.0, released over 1 year ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P8.0 (29-Jun-13)
Paper page: 9
With upgrade in ADT v22.1 the activity needs to be created separately instead of just new project. Also there is no option for New->Android->Andoid Pr...more...
  • Reported in: P8.0 (16-Jan-13)
PDF page: 39

You need to create res/layout-land/activity_main.xml, not res/layout-land/main.xml--Mike Ask

  • Reported in: P8.0 (22-Dec-13)
Paper page: 50
in the override of the OnCreate method for class Prefs you call a method addPreferencesFromResource which has been deprecated (in APIv11). It talks a...more...
  • Reported in: P8.0 (19-Nov-12)
Paper page: 52
The button tags in the new layout presented use different string ids than what was previously entered. strings.xml contains continue_label and the lik...more...
  • Reported in: P7.0 (09-Oct-12)
Paper page: 52
regarding the issue #4953 - that the Settings ID tag does not register in eclipse. I found that by taking out the ... the id registers. The ... appa...more...
  • Reported in: B7.0 (19-Jul-12)
Paper page: 52
On page 52 in edition 3 the ID (settings)for the item does not register with the Eclipse ADT plug-in. I am not sure if this is a result of my fault o...more...
  • Reported in: P1.0 (21-Jul-13)
PDF page: 65
i have pdf version 2010-7-16 on this page under section 3.8(adding settings) there is a statement "You define the preferences in a resource file cal...more...
  • Reported in: P8.0 (09-Aug-13)
PDF page: 66

addPreferencesFromResource method cannot be used as it is deprecated..
what is the alternative for this?plz help--sam

  • Reported in: P8.0 (30-Nov-13)
PDF page: 99

in the section 6.1. The method name onCreateOptionMenu has a dash, I supose it comes from previous versions.--Jaime Rodriguez Martinez

  • Reported in: P8.0 (24-Oct-12)
PDF page: 99
The 1st line in subchapter "6.1 Adding Options to Sudoku": "...we used the onCreateOp-tionsMenu()...". Should be onCreateOptionsMenu() without '-'.--...more...
  • Reported in: P8.0 (24-Oct-12)
PDF page: 118
Example from ch. 7.3 From JavaScript to Java and Back This example does not work with 2.3 emulators. I tested it with emulator 2.3.3. Problem was r...more...
  • Reported in: P8.0 (24-Oct-12)
PDF page: 121

Lower part of the page: "the object." should be without '-'.--Anto Jurkovic

  • Reported in: P9.0 (09-Apr-14)
PDF page: 122
The "callAndroid" method needs a @JavascriptInterface annotation, or else the code won't compile. More info about that annotation/error can be found o...more...
  • Reported in: P1.0 (23-Oct-12)
PDF page: 135
The discussion thread on this book headlined Browser Intent and Browser View problems details my problem in that some code from the tutorial at Sectio...more...
  • Reported in: P8.0 (16-Apr-13)
Paper page: 160
I followed everything correctly but I keep getting the "translation error", I also tried to find the source code, but had no luck with that. Could you...more...