Programming Android

Errata for Programming Android

Submit your own errata for this product.


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
Safari Books Online
80
"Content Providers"

"The update method of the ContentProvider class is analogous to the REST UPDATE operation." HTTP does not have an UPDATE operation, but PUT and PATCH.

Note from the Author or Editor:
The reporter is correct. The word "UPDATE" should not be in caps.

Eric Jain  Feb 20, 2013 
PDF
Page 103, 122, 123, 559

Each of the pages listed has a discussion of a TextBox class. I'm relatively new to Android, but I don't see a TextBox class in the latest API (or in older version of the API). Should each of these uses refer instead to the TextView class?

Note from the Author or Editor:
We've seen this before. It is an error.

Anonymous  Apr 23, 2013 
Safari Books Online
110
2nd paragraph

"The Date in this example, for instance, is easily represented by its time since the millennium." Date.getTime() doesn't return the time since the millennium, but the the number of milliseconds since January 1, 1970, 00:00:00 GMT (a.k.a. the "Unix epoch").

Note from the Author or Editor:
Reporter is correct: the word "millennium" should be replaces with the word epoch

Eric Jain  Feb 21, 2013 
PDF
Page 132
7th paragraph

Original: Look in the android folder in your home ... Do you mean .android folder?

Note from the Author or Editor:
Yawn.

Anonymous  Sep 25, 2012 
PDF
Page 184
Part of example 6-6 at the top of the page

The comment for the DotsChangeListener interface says DotChangeListener instead of DotsChangeListener.

Joseph Eddy  Dec 20, 2012 
Printed
Page 274
Second sqlite command in the last code snippet on the page

The written sqlite command is "SELECT _id, description FROM videos;", where the author(s) clearly meant the following: "SELECT _id, title FROM video;"

Note from the Author or Editor:
True fact: "description" should be "title"

Anonymous  Jul 17, 2013