Developing Hybrid Applications for the iPhone errata
This page is a delineation of notes and publication errors found in the Developing Hybrid Applications for the iPhone book.
Notes:
- Version 0.7.3 defaults to having the HTML, CSS, and JavaScript stored on the device rather than on a web server.
- The version of Dashcode shipped with Snow Leopard no longer allows custom templates to be displayed. A defect report has been sent to apple. You will need to drag the QuickConnectiPhone files and directories into one of the standard Dashcode projects until this is remedied.
- The version of Dashcode shipped with Snow Leopard has a different directory structure than the version covered in the book.
Publication Errors
- Page 2 of the Preface, How to Use This Book, Chapter 4 title should read “GPS, Acceleration, and Other Native Functions with QuickConnect”
- Page 4 of the Preface, Prerequisites, 3rd line should read “Objective-C” instead of “Objecive-C”
- Page 10, 3rd paragraph, 1st line. The name of the file has been changed from gap.js to phonegap.js by the phonegap developers
- Page 10, 3rd paragraph, 2nd line. The name of the directory has been changed from JavaScript to javascripts by the phonegap developers
- Page 17 1st paragraph of Section 6 should read “Section 5″ instead of “Section 4″
- Page 19, beginning of 1st paragraph should read “The applicationDidFinishLaunching method” instead of “The SimpleExampleAppDelegate method”
- Page 19, end of first paragraph should read “Section 8 and in Chapter 7″ instead of “Section 9 and in Chapter 7″
- Page 19, after code segment should read “Section 5″ instead of “Section 6″
- Page 21, 1st paragraph should read “line 3″ instead of “line 4″
- Page 23, 3rd paragraph should read “… lines 10 – 12″ instead of “… lines 14 and 15.
- Page 28, table 2.1 should read “handleRequest” instead of “handleResult”
- Page 28, code snippet should end with “}” instead of “=}”
- Page 34, 1st paragraph of section 3 should read “… consists of 23 lines …” instead of “… consists of 21 lines …”
- Page 25, Table 2.3 first method signature should read “… paramArray) …” inestead of “… paramArray,) …”
- Page 38, 1st paragraph of section 4, 4th line should read “… dispatchToValCF …” instead of “… displatchToValCF …”
- Page 52, last paragraph sentence 2 should read “… different transactions …” should read “… different transitions …”
- Page 80, last code snippet should end with “}” on the next line.
- Page 81, 1st paragraph last line should read “… Objective-C …” instead of “Objecive-C”
- Page 83, 3rd paragraph second sentence should read “As with the BCFs and VCFs discussed in Chapter 2, …” instead of “As discussed in Chapter 2, …”
- Page 94, last paragraph last sentence should read “… Chapter 6 …” instead of “… Chapter 8 …”
- Page 95, Title should read “GPS, Acceleration, and Other Native Functions with PhoneGap”
- Page 112, last paragraph, last line should read “It sets up four locations: Rexburg, Idaho; Wyoming; a wilderness area; and a sandwich shop.” instead of “It sets up three locations: Rexburg, Idaho; Wyoming; a wilderness area.”
- Page 120, first paragraph first line should read “… for the pin to trap …” instead of “… for the pinto trap …”
- Page 126, Chapter 7, BrowserDBAccess is sometimes spelled browserDBAccess
- Page 133, second code snippet, should read “var sampleDatabase = new …” instead of “var sampleDatabase = sampleDatabase = new …”
- Page 154, 4th line of Summary, “… DataAcecessObject …” should read “… DataAccessObject …”
- Page 155, 1st paragraph of Section 1, 4th line. “… browserAJAXAcces …” should read “… browserAJAXAccess …”
- Page 159, 2nd paragraph, 2nd line. ”… browserAJAX …” should read “… browserAJAXAccess …”
- Page 159, 5th paragraph, 2nd line. ”… iBlog …” should read “… browserAJAXAccess …”
- Page 164, 2nd paragraph, 1st line. ”… makeCAll …” should read “… makeCall …”
- Page 172, 3rd paragraph of Summary, 2nd line. ”… browserAJAXExample …” should read “… browserAJAXAccess …”