Android Cookbook

Errata for Android Cookbook

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
Printed
Page 661
First line of this page (the android code)

if (procInfos.get(i).processName.equals(aApplicationPackageName)) { should be if (procInfos.get(idx).processName.equals(aApplicationPackageName)) { Or we can change the variable name in the loop on the last line of page 660 from idx to i instead.

Note from the Author or Editor:
Confirmed; typo corrected. Change has been made in ch18.asciidoc and pushed to Atlas.

Peng Cao  Dec 10, 2017