Errata

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page xv
Preface | xv ; 4th line from bottom

Typo in URL: "You can access this page at http://oreil.ly/prog_android_2e"

Anonymous  Dec 27, 2012 
Printed Page 59
Code (top)

target.subtypeAccess = "success!!"; // ERROR!!

should read

target.subtypeAccess = "fail!!"; // ERROR!!

for text consistency with the rest of the code.

Laurent Haas  Jan 02, 2013 
PDF Page 253
Example 8-14

I'm not sure if I'm missing something, so forgive me if I am, but it seems like the line:

camera.translate(0.0F, 0.0F, z);

should be

camera.translate(0.0F, 0.0F, -z);

To have the view actually shrink into the distance...that is, if Z_MAX is positive (which is totally an assumption on my part...).

Joseph Eddy  Dec 24, 2012 
PDF, ePub Page 331
4th method of code example

Example code in "Delegating to Fragment Classes" has case bug that would be caught by @Override.

public void onresume() { ... }

Looks like it should be:

@Override public void onResume() { ... }

Just the sort of typo that @Override catches.

Bruce Wisentaner  Apr 12, 2014