Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page xi Left side of page |
The arrow on the far left has gone astray. It needs to be moved down so it's in between "This is our list view" and the ListView. |
Dawn Griffiths |
Jul 20, 2015 | Jul 24, 2015 |
Printed | Page xv Diagram on the left |
The white arrow on the right of the diagram should be removed. The dark arrow at the top should have a white background. |
Dawn Griffiths |
Jul 20, 2015 | Jul 24, 2015 |
Printed | Page xvi Thought bubble on left |
Move the circles onder the thought bubble down and to the right slightly so they connect the thought bubble to the butler's head. |
Dawn Griffiths |
Jul 20, 2015 | Jul 24, 2015 |
Chapter 9, Bits And Pizzas App, The menu showAsAction attribute |
when i run the source code of BitsAndPizzas app which i downloaded from your site and it was as described for the attribute: (app.showAsAction), i run it on 2 devices (API 17 & API 22) it didn't show the menu icons in the Action Bar, but when i changed the attribute to (android:showAsAction) it worked as expected and show the menu icons in the Action Bar, in both cases the library (com.android.support:appcompat-v7:21.1.2) exists in the app dependencies. Note from the Author or Editor: |
Anonymous | Jul 30, 2015 | Aug 21, 2015 | |
Page xxx The examples are designed for learning. |
Wording error: |
Anonymous | Jul 31, 2016 | ||
ePub | Page n/a |
Throughout the ePub (as viewed on Safari), Blank Activity should be replaced by Empty Activity. I see from the errata that this has been corrected in the printed book Note from the Author or Editor: |
Ellen Spertus | Jan 05, 2017 | |
ePub | In Chapter 2, a spurious percent sign (%) appears in the sentence "It includes properties controlling its position, size, appearance, %and what methods it should call in the activity." Note from the Author or Editor: |
Ellen Spertus | Jan 05, 2017 | ||
ePub | In Chapter 2, you write: "Replace your activity_find_beer.xml code with the following:..." The following code is an image and cannot be copied and pasted into the editor; nor is it in the source file that can be downloaded from your site, which has the final version of activity_find_beer.xml. It would be useful for readers if they could copy the code. (I would have tagged this as an enhancement request, if that option were available to me.) |
Ellen Spertus | Jan 05, 2017 | ||
3rd paragraph |
Chapter 5 |
Anonymous | Apr 15, 2015 | Jun 09, 2015 | |
3rd paragraph |
Chapter 5 GridLayout section |
Anonymous | Apr 15, 2015 | Jun 09, 2015 | |
Page 3 United States |
In "Linux Kernel" portion of graphic on this page, "Audio Drivers" says "Audiio Drivers" (extra 'i' in Audio) |
Bill Rouck | Sep 14, 2015 | Jan 22, 2016 | |
Page 3 1st paragraph |
Missing word: |
Anonymous | Jan 09, 2016 | Jan 22, 2016 | |
Page 3 First paragraph |
In the first paragraph on page 3, the paragraph ends without the sentence being completed. |
Anonymous | Mar 06, 2015 | Jun 09, 2015 | |
Page 4 United States |
Grammar - On page 4 in the questions area, "You really need experience of Java Note from the Author or Editor: |
William Rouck | Sep 14, 2015 | Jan 22, 2016 | |
Page 6 Caption |
The code the design editor adds depends on where you plave the button |
Anonymous | Mar 17, 2015 | Jun 09, 2015 | |
Page 6 First paragraph |
Chapter 2 Page 6 |
Anonymous | Mar 17, 2015 | Jun 09, 2015 | |
Page 8 First paragraph |
Chapter 2 Page 8 |
Anonymous | Mar 17, 2015 | Jun 09, 2015 | |
Page 11 United States |
- text " “friendly” name that may " not at same indentation as rest of text in that area of the page Note from the Author or Editor: |
Bill Rouck | Sep 14, 2015 | Jan 22, 2016 | |
Page 11 First paragraph |
An activity an a layout |
Anonymous | Mar 17, 2015 | Jun 09, 2015 | |
Page 11 Point 7 |
'Which the learner' should be 'Which the user' |
Anonymous | Mar 17, 2015 | Jun 09, 2015 | |
Printed | Page 13 Last line of body text, also the annotation |
Change Blank Activity to Empty Activity to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Printed | Page 14 Annotation |
Change "Accept the defaults" to "Accept any other defaults" |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Page 16 Page title |
Missing space in page title (which causes the title to display incorrectly in the PDF outline): |
Anonymous | Jul 31, 2016 | ||
Page 16 Header |
The words 'The code editor' overlaps with paragraph 1 |
Anonymous | Mar 17, 2015 | Jun 09, 2015 | |
Page 23 2nd paragraph |
Wrong word: Note from the Author or Editor: |
Anonymous | Jan 09, 2016 | Jan 22, 2016 | |
Page 30 First paragraph |
Incomplete sentence: 'Here's the code from acivity_manin.xml that Android' |
Anonymous | Mar 17, 2015 | Jun 09, 2015 | |
Page 31 f |
'Element is the last one' should be 'Element is the first one' |
Anonymous | Mar 17, 2015 | Jun 09, 2015 | |
Page 32 Last paragraph |
Grammatical error: Note from the Author or Editor: |
Anonymous | Jan 09, 2016 | Jan 22, 2016 | |
Page 33 |
It seems that since API 23 Android uses CoordinatorLayout and activity_main has been split into activity_main.xml and content_main.xml and consequently all the details referred to on this page are now in content_main.xml. Note from the Author or Editor: |
Anonymous | Nov 24, 2015 | Jan 22, 2016 | |
Page 34 Paragraph 1 |
Missing underscore: |
Anonymous | Jul 31, 2016 | ||
Page 35 Bullet point 1 on the right |
AndroidManafest.xml instead of AndroidManifest.xml |
Anonymous | Mar 17, 2015 | Jun 09, 2015 | |
Page 38 Left-side bullet list |
5th bullet, "you app" should be "your app" |
Bill Rouck | Sep 16, 2015 | Jan 22, 2016 | |
Printed | Page 40 Top screenshot |
The annotations and arrows on the screenshot need moving to the left so they're not covering the button and list. |
Dawn Griffiths |
Aug 14, 2015 | Aug 21, 2015 |
Printed | Page 42 Step 4 |
Change "a blank activity" to "an empty activity" to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Page 45 First paragraph after first code listing |
A percent sign is in the paragraph text, should be removed. "It includes properties controlling its position, size, appearance, %and what methods it should call in the activity" |
Bill Rouck | Sep 16, 2015 | Jan 22, 2016 | |
Page 45 Last paragraph |
It seems that something is missing here: |
Diego Thoms | Mar 24, 2015 | Jun 09, 2015 | |
Page 51 |
As noted in an earlier error, it seems that since API 23 Android uses CoordinatorLayout and activity_main has been split into activity_main.xml and content_main.xml and consequently all the details referred to on this page are now in content_find_beer.xml. Note from the Author or Editor: |
Anonymous | Nov 24, 2015 | Jan 22, 2016 | |
Page 65 Q: Why did we replace the activity code that Android Studio created for us? |
Redundant phrasing: Note from the Author or Editor: |
Anonymous | Aug 02, 2016 | ||
Page 67 First paragraph |
It says... "In version two of the servlet..." |
Diego Thoms | Mar 24, 2015 | Jun 09, 2015 | |
Printed | Page 75 First paragraph under Create the project |
Change "a blank activity" to "an empty activity" to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Printed | Page 78 2nd paragraph |
Change "Blank Activity" to "Empty Activity" to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Printed, ePub | Page 84 Bullet point 1 |
A comma is missing in "the main activity, CreateMessageActivity starts". It should be "the main activity, CreateMessageActivity, starts". |
Ellen Spertus | Jan 06, 2017 | |
Printed, ePub | Page 85 Last screen |
"Hello world!" is not displayed for me. It was not generated as part of an Empty Activity. Note from the Author or Editor: |
Ellen Spertus | Jan 06, 2017 | |
Page 86 1st Paragraph, Bullet #2 |
Says "Update CreateMessageActivity.xml" instead of "Update CreateMessageActivity.java" |
Lynn Samson | Aug 15, 2015 | Aug 21, 2015 | |
Page 96 Title |
"Create an intent that specifies an" |
Diego Thoms | Mar 25, 2015 | Jun 09, 2015 | |
ePub | Page 118 final paragraph |
The package named "com.hfad.stopwatch" is misspaced as "com.hfad. stopwatch" in the Safari ebook. |
Ellen Spertus | Jan 07, 2017 | |
Page 120 Last paragraph |
Missing word: |
Anonymous | Jan 27, 2016 | ||
Page 121 Paragraph 1 |
Subject/Verb agreement: |
Anonymous | Aug 14, 2016 | ||
Page 124 Last paragraph |
Missing word: |
Anonymous | Jan 27, 2016 | ||
Printed | Page 124 First "handwritten" comment |
I think it should say"Runnable's" instead of "Handler's" where it says "<--You put the code you want to run in the Handler's run() method." |
Daniel Jacobson | Nov 27, 2016 | |
Page 128 2nd Paragraph, last sentence. |
Missing word in "and at the <b> end</b> of its life," |
Diego Thoms | Mar 27, 2015 | Jun 09, 2015 | |
Page 130 Drawing, Activity class |
onCreate(Bundle) repeated |
Diego Thoms | Mar 27, 2015 | Jun 09, 2015 | |
Page 141 Last "A:" |
The code font PLUS Camel Case capitalization PLUS dot-notation make this statement very difficult to parse. (Look at the original text since the code font won't appear in this form.): Note from the Author or Editor: |
Anonymous | Aug 14, 2016 | ||
Page 142 Paragraph 1 |
Missing space: |
Anonymous | Aug 14, 2016 | ||
Printed | Page 147 Main heading |
Should say "StopwatchActivity", not "StopwathActivity" |
Dawn Griffiths |
Jul 16, 2015 | Jul 24, 2015 |
Printed | Page 156 Bottom of page |
"There are no Dumb Questions" passage, first question. Seems |
Anonymous | Apr 11, 2016 | |
Page 170 the <Button> code |
the Second Button's @+id/button_click_me should be @id/button_click_me Note from the Author or Editor: |
Chen Dong | Aug 23, 2015 | Jan 22, 2016 | |
Page 170 Third paragraph |
Wrong word?: |
Anonymous | Jan 28, 2016 | ||
PDF, ePub | Page 183 3rd paragraph |
The text: |
Iwan Nijs - de Boer | Mar 08, 2016 | |
Page 202 First object diagram |
Arrow overlaps the corresponding text: |
Anonymous | Jan 28, 2016 | ||
Page 203 Last paragraph |
Confusing wording: |
Anonymous | Jan 28, 2016 | ||
Page 208 Toggle button example code |
Example method names don't match: Note from the Author or Editor: |
Anonymous | Aug 15, 2016 | ||
Printed | Page 212 The code section under "Using them in your activity code" |
The line of code: |
Dawn Griffiths |
Jul 19, 2015 | Jul 24, 2015 |
Printed | Page 213 Code section at the bottom of the page |
The line of code: |
Dawn Griffiths |
Jul 19, 2015 | Jul 24, 2015 |
Page 218 Defining it in XML |
Missing closing quotation mark: |
Anonymous | Aug 15, 2016 | ||
Page 232 Block "The top level activity" |
Second block of paragraphs, first paragraph: |
Anonymous | May 14, 2015 | Jun 09, 2015 | |
Printed | Page 237 2nd paragraph |
Change https://tinyurl.com/HeadFirstAndroid to http://tinyurl.com/HeadFirstAndroidCoffeeImages. |
Dawn Griffiths |
Sep 15, 2015 | Jan 22, 2016 |
Page 244 Last "A:" |
The code font meant for "CheckBox" in the word "CheckBoxes" extends to include the adjoining e so that "CheckBoxe" is in code font. |
Anonymous | Aug 16, 2016 | ||
Printed | Page 257 2nd annotation |
The annotation is partly covered by an arrow, so needs moving to the right. |
Dawn Griffiths |
Jan 30, 2016 | |
Printed | Page 270 Bottom screenshot |
Move the horizontal arrow a few spaces to the left so it's closer to the left Limb Loosener. |
Dawn Griffiths |
Aug 14, 2015 | Aug 21, 2015 |
Printed | Page 274 Last paragraph |
Change "a blank activity" to "an empty activity". This is to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Page 275 Section "The Workout class", image comment on the static Workout[] array |
The comment on the static array "workouts" reads: |
Anonymous | May 23, 2015 | Jun 09, 2015 | |
Printed | Page 276 Top annotation |
Move the top annotation and its arrow up a line so it's pointing to the word "extra". |
Dawn Griffiths |
Sep 15, 2015 | Jan 22, 2016 |
Page 280 Section "Passing the workout id to the fragment", 2nd block of paragraphs, 4th paragraph |
Whoa! Your Workout class is the REAL thing - it's got an IT department of it's own - or did you just mean "id" instead of "it"? |
Anonymous | May 23, 2015 | Jun 09, 2015 | |
Printed | Page 281 Top annotation |
Expand the frame of the anno to the right so that the word "layout" moves up to the next line and doesn't overcrowd the line of code. |
Dawn Griffiths |
Aug 14, 2015 | Aug 21, 2015 |
Page 281 Section "Get the activity to set the workoutId", 2nd-to-last block of paragraphs, 1st paragraph |
Missing "the": |
Anonymous | May 23, 2015 | Jul 24, 2015 | |
Page 286 "What happens when you run the app", item #2 and #3 (images) |
The 2nd step description says (correctly): Note from the Author or Editor: |
Anonymous | May 18, 2015 | Jul 24, 2015 | |
Page 287 1st Paragraph |
The second sentence states: "MainActivity uses WorkoutListFragment to display details of the workout, and ..." It should say: "MainActivity uses WorkoutDetailFragment to display details of the workout, and ..." |
Anonymous | Jul 07, 2016 | ||
Page 289 Paragraph 2 |
Duplicate word: |
Anonymous | Aug 24, 2016 | ||
Page 289 First paragraph after the section title |
Missing "a" in the first paragraph starting with: |
Anonymous | May 18, 2015 | Jul 24, 2015 | |
Page 289 Sidebar notes, lower right corner |
The first paragraph in that sidebar reads: |
Anonymous | May 18, 2015 | Jul 24, 2015 | |
Page 294 First paragraph after the section title "Test drive the app" |
The first paragraph after the section title currently reads: |
Anonymous | May 18, 2015 | Jul 24, 2015 | |
Page 294 Image of app structure |
Regarding the "fragment_workout_list.xml" file: |
Anonymous | May 18, 2015 | Jul 24, 2015 | |
Printed | Page 297 Before the onAttach() method |
The second @Override annotation is slightly misindented. Note from the Author or Editor: |
Ellen Spertus | Feb 08, 2017 | |
Page 300 Section "Don't update - replace", first block of paragraphs, 2nd paragraph |
The paragraph reads: Note from the Author or Editor: |
Anonymous | May 19, 2015 | Jul 24, 2015 | |
Printed | Page 304, 305 |
If you rotate the device more than once and hit the back button, the workoutId still loses its current value. Instead of retrieving the current value in the onCreateView() method, retrieve it in the fragment's onCreate() method instead. The full code is available here: https://github.com/dogriffiths/HeadFirstAndroid/blob/master/chapter07/Workout/app/src/main/java/com/hfad/workout/WorkoutDetailFragment.java |
Dawn Griffiths |
Jan 01, 2016 | Jan 22, 2016 |
Printed | Page 310 BE the Folder Structure question |
The question provided on page 310 does not match the question answered on page 312. Note from the Author or Editor: |
Andrew Covington | Jan 03, 2017 | |
Printed | Page 316 2nd paragraph |
Change "blank activity" to "empty activity". This is to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Page 317 text next to pool |
"These code snippets were not needed here" is shown on both the question page and the solution page, when presumably it should only be shown on the solution page. Note from the Author or Editor: |
Anonymous | Aug 29, 2015 | Jan 22, 2016 | |
327 Table |
All of the check marks are missing from the table, at least when the Safari book is viewed in Chrome on a Windows 10 box. |
Ellen Spertus | Feb 15, 2017 | ||
Page 327 First block of paragraphs after the section title, 2nd paragraph |
The paragraph currently reads: |
Anonymous | May 22, 2015 | Jul 24, 2015 | |
Page 332 4th paragraph |
Missing word: "to" |
Anonymous | May 22, 2015 | Jun 09, 2015 | |
Page 340 Section title |
Misspelled word: |
Anonymous | Aug 28, 2016 | ||
Printed | Page 342, 343, 357, 358 |
Instead of adding the fragment transaction to the onCreateView() method, we need to add it to the fragment's onCreate() method instead. This fixes a bug you get when you rotate the device multiple times and hit the back button. The full code is available here: https://github.com/dogriffiths/HeadFirstAndroid/blob/master/chapter08/Workout/app/src/main/java/com/hfad/workout/WorkoutDetailFragment.java |
Dawn Griffiths |
Jan 01, 2016 | Jan 22, 2016 |
Printed, | Page 345 Top of stack trace |
Stack trace shows package com.hfad.fraghack, but code on p. 332 shows package com.hfad.workout. Note from the Author or Editor: |
Ellen Spertus | Feb 15, 2017 | |
Printed, | Page 347 Point 2 |
"onClickListener" should be "OnClickListener" (upper camel case). |
Ellen Spertus | Feb 15, 2017 | |
Page 349 Paragraph 2 |
Wording error: |
Anonymous | Sep 19, 2016 | ||
Page 349 Section "Make the fragment implement OnClickListener", 2nd block of paragraphs |
Just a minor text layout issue: |
Anonymous | May 22, 2015 | Jul 24, 2015 | |
Printed, | Page 352 1st statement in onCreateView() |
"R.layout.stopwatch" should be "R.layout.fragment_stopwatch". Note from the Author or Editor: |
Ellen Spertus | Feb 22, 2017 | |
Page 366 PDF bookmarks |
The PDF bookmarks for Chapter 9 include the headings of the detail screens (Pizzas, Stores, Pasta, Pizzas, Cambridge, etc) as well as one for "android:id" (which just goes to one of the entries in the table on page 377). |
Anonymous | Aug 29, 2015 | Jan 22, 2016 | |
Page 368 2nd bullet point |
"The action bar has a number of uses": |
Anonymous | May 24, 2015 | Jun 09, 2015 | |
Printed | Page 370 1st paragraph |
Change "a blank activity" to "an empty activity". This is to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Printed, | Page 370 Paragraph 1 |
When an empty (blank) activity is created, the user is not prompted for a menu resource. Note from the Author or Editor: |
Ellen Spertus | Feb 22, 2017 | |
Page 373 Block of paragraphs left to the folder tree image, 3rd paragraph |
Change "is" to "it": |
Anonymous | May 24, 2015 | Jul 24, 2015 | |
Page 374 5th paragraph |
The paragraph currently reads: |
Anonymous | May 25, 2015 | Jun 09, 2015 | |
Printed | Page 375 2nd circled step |
Current sentence: If the app's rnning on API level 21, it uses the style called AppTheme in the values-21 folder. |
Linda | Oct 16, 2015 | Jan 22, 2016 |
Page 378 Paragraphs left to folder tree image, 3rd paragraph |
Might want to exchange "attribute" for "element": Note from the Author or Editor: |
Anonymous | May 25, 2015 | Jul 24, 2015 | |
Page 379 3rd paragraph |
The instructions say to download the Android icon pack from https://developer.android.com/design/downloads/index.html, then copy ic_action_new_event icons from the icon pack's Action Bar Icons/holo_light/05_content_new_event folder into the project. It appears that the action pack has been replaced by the Material icon pack available on GitHub. There doesn't appear to be a "new event" icon in the new set. Note from the Author or Editor: |
Anonymous | Aug 29, 2015 | Jan 22, 2016 | |
Printed | Page 382 2nd paragraph |
Change "blank activity" to "empty activity". This is to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Printed | Page 405 First Sentence |
Sentence refers to changing the layout of the .java file rather than the .xml file. Note from the Author or Editor: |
Andrew Covington | Jan 06, 2017 | |
Printed | Page 408 The code sample |
There are unneeded semicolons at the ends of the two class definitions. Note from the Author or Editor: |
Ellen Spertus | Feb 22, 2017 | |
Page 418 1st paragraph |
"If you have items on your action bar that are specific to the contents of a particular fragment, you may want to hide them when the drawer is open, and display them again when the drawer is open." |
Chen Dong | Sep 16, 2015 | Jan 22, 2016 | |
Page 421 2nd paragraph |
"...from within the activity's postCreate() method" the method is actually called onPostCreate (this is correct on the remainder of the page). |
Anonymous | Aug 29, 2015 | Jan 22, 2016 | |
Printed | Page 432 2/3 of the way down |
Where you see the bold "visible_fragment" in the code, add an annotation that says "Add a tag to the fragment." and add an arrow pointing from the anno to the code. |
Dawn Griffiths |
Aug 14, 2015 | Aug 21, 2015 |
Printed | Page 432 Top of code |
Add an annotation to the bold line of code currentPosition = position that says "Update the current position.". Add an arrow that goes from the anno to the line of code. |
Dawn Griffiths |
Aug 14, 2015 | Aug 21, 2015 |
Printed | Page 438 Bottom |
Note from the Author or Editor: |
Anonymous | Aug 06, 2015 | Aug 21, 2015 |
Page 442 Diagram note |
Missing word: |
Anonymous | Oct 25, 2016 | ||
Page 444 code |
Page 444 gives us the initial code for StarbuzzDatabaseHelper. The code includes an empty constructor with one argument (Context). This will lead to an error in the IDE because the superclass SQLiteOpenHelper doesn't have a no-args constructor. We're being told how to fix this on the next page, but it would be nice to put a comment or annotation into the empty constructor on page 444 that tells us we'll be fixing the problem later. Note from the Author or Editor: |
Anonymous | Aug 29, 2015 | Jan 22, 2016 | |
Printed | Page 446 first paragraph |
"... like a number of a piece of text" should be "... like a number or a piece of text" |
Anonymous | Mar 16, 2016 | |
Page 448 paragraphs 2, 3, 4 |
There three spots in these paragraphs where a class/method name is typeset in boldface montoype. All other in-text class/method names are typeset in normal weight monotype. If the boldface was chosen in these three spots for emphasis then it isn't clear from the text why they are emphasised. Note from the Author or Editor: |
Anonymous | Aug 30, 2015 | Jan 22, 2016 | |
Page 490 Last line of code |
Missing space: Note from the Author or Editor: |
Anonymous | Jan 23, 2017 | ||
Printed | Page 507 3rd paragraph |
"the users favorite drinks" should be "the user's favorite drinks". |
Ellen Spertus | Mar 03, 2017 | |
Page 513 try block |
The SQLDatabase from the onCreate() method doesn't require write access. Only the one in onFavoriteClicked(), therefore this line doesn't actually need to change and can remain as: Note from the Author or Editor: |
Anonymous | Jul 09, 2016 | ||
Printed | Page 517 1st sentence |
"the users favorite drinks" should be "the user's favorite drinks". |
Ellen Spertus | Mar 07, 2017 | |
Page 520 Code notes |
Missing period: |
Anonymous | Jan 24, 2017 | ||
Printed | Page 524 middle of code example |
@Override missing before onRestart(). Note from the Author or Editor: |
Ellen Spertus | Mar 07, 2017 | |
Page 525 Third bullet |
Subject/verb agreement: |
Anonymous | Jan 25, 2017 | ||
Page 528 Code notes |
Wording error: |
Anonymous | Jan 25, 2017 | ||
Page 533 Paragraph 1 |
Missing word: |
Anonymous | Jan 25, 2017 | ||
Printed, PDF, ePub, Mobi, , Other Digital Version | Page 534 First Paragraph |
The following lone has error: Note from the Author or Editor: |
icewheel | Jul 19, 2015 | Jul 24, 2015 |
Printed | Page 534 1st paragraph |
In the first paragraph it mentions onPreExecute() instead of onPostExecute() Note from the Author or Editor: |
Ben Davies | Aug 28, 2015 | Jul 24, 2015 |
Page 534 Paragraph 1 |
Missing word: |
Anonymous | Jan 25, 2017 | ||
Page 534 Paragraph 1 |
Missing word: |
Anonymous | Jan 25, 2017 | ||
Page 534 Paragraph 2 |
Missing word: |
Anonymous | Jan 25, 2017 | ||
Printed | Page 535 middle of page |
//Code that you wan to run when the task is complete |
Anonymous | Apr 11, 2016 | |
Other Digital Version | 537 Code example |
In your source code at github [https://github.com/dogriffiths/HeadFirstAndroid/blob/master/chapter12/Starbuzz/app/src/main/java/com/hfad/starbuzz/DrinkActivity.java#L84], you are missing a line break between statements on line 84. Note from the Author or Editor: |
Ellen Spertus | Mar 08, 2017 | |
Printed | Page 539 Step 4 of AsynchTask summary |
Slight typo in step 4 of AsynchTask steps where finished is spelt as "finsihed" Note from the Author or Editor: |
Ben Davies | Aug 28, 2015 | Jan 22, 2016 |
Printed, PDF, ePub, Mobi, , Other Digital Version | Page 561 5th Paragraph |
Line is: |
icewheel | Jul 20, 2015 | Jul 24, 2015 |
Printed | Page 571 1st paragraph |
Change "a blank activity" to "an empty activity". This is to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Page 576 Paragraph 3 |
Wording error: |
Anonymous | Mar 15, 2017 | ||
Page 579 Paragraph 5 |
Wording error: |
Anonymous | Mar 15, 2017 | ||
Page 581 the code paragraph |
There's no LocationManager.removeUpdates() method to release the resource after the service stopped. Note from the Author or Editor: |
Chen Dong | Sep 21, 2015 | Jan 22, 2016 | |
Page 586 activity_main.xml TextView element textSize |
android:textSize="60dp" Note from the Author or Editor: |
Mahone | Jan 03, 2016 | Jan 22, 2016 | |
Printed | Page 586 TextView xml code |
"android:singleLine" is deprecated. False is the default so the attribute can be removed. |
Andrew Covington | Jan 09, 2017 | |
Printed | Page 601 1st paragraph |
Change https://tinyurl.com/HeadFirstAndroid to http://tinyurl.com/HeadFirstAndroidPizzaImages |
Dawn Griffiths |
Sep 15, 2015 | Jan 22, 2016 |
Page 601 Code notes |
Wording error: |
Anonymous | Mar 16, 2017 | ||
PDF, Mobi | Page 605 1st paragraph |
<quote>A recycler view, however, is more efficient at displaying large data sets. This is because a recycler view reuses (or recycles) views when they are no longer visible on screen, whereas a list view displays a new view for each item that appears on screen</quote> Note from the Author or Editor: |
Aziz G | Oct 13, 2015 | Jan 22, 2016 |
Printed | Page 608 code |
The line of code "import android.view.LayoutInflator" should be bold. |
Dawn Griffiths |
Aug 14, 2015 | Aug 21, 2015 |
Page 616 Code notes |
The code notes font seems to override the code font which make this statement very difficult to parse. (Look at the original text since the code font won't appear in this form.): Note from the Author or Editor: |
Anonymous | Mar 18, 2017 | ||
Printed | Page 627 2nd paragraph |
Change "blank activity" to "empty activity". This is to fit in with changes made to Android Studio since the book was written. |
Dawn Griffiths |
Dec 11, 2015 | Jan 22, 2016 |
Page 657 Paragraph 1 |
Wording error: |
Anonymous | Mar 19, 2017 | ||
ePub | Page 686 Chapter 10 > Create StoresFragment > first paragraph |
“We’ll use a ListFragment called StoresFragment to display the list of pasta”. Note from the Author or Editor: |
Eduardo Jiménez | Aug 20, 2015 | Aug 21, 2015 |