Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 2 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 7th, 2010, 10:15 AM
Registered User
Join Date: Mar 2010
Location: Charlotte, NC
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Typo?

First, thank you for a great book! I wanted to learn Android over the weekends I have free and feel this is an excellent book. I am working through the examples of the book. I am in Chapter 2--ToDoList. I looked at your code example and used my code. I compared my project setup, the version of the Android SDK, and the actual code. I did not see any configuration differences.

 ListView myListView = (ListView) findViewById(R.id.MyListView);
 final EditText myEditText = (EditText) findViewById(R.id.MyEditText);
Note the captialization difference for the paramemter in the findViewById method.
  #2 (permalink)  
Old March 7th, 2010, 10:26 AM
Reto's Avatar
Wrox Author
Points: 287, Level: 5
Points: 287, Level: 5 Points: 287, Level: 5 Points: 287, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2008
Location: London, United Kingdom
Posts: 61
Thanks: 1
Thanked 7 Times in 6 Posts

Hi Russ,

Thanks, hope you find the book useful!

I'm not sure exactly where you're seeing the problem -- capitalization in the code snippet you show needs to match the capitalization you use in the main.xml layout file (step 6). In the book they both start with lowercase 'm' -- but it'll work just as well if you choose to make the uppercase in both the layout and the code.

Unless I've misunderstood?
Reto Meier

Author, "Professional Android 4 Application Development", Wrox, ©2012, 2010, 2008

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible typo on page 230 WebDNA BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 0 October 15th, 2008 11:12 AM
Typo arif ahmed BOOK Beginning Linux Programming, 3rd Edition 1 August 25th, 2006 10:26 AM
Chapter 4 typo mixtli BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 3 June 7th, 2003 06:30 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.