Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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.

Code:
 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.
Reply With Quote
  #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
Default

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
@retomeier
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:58 AM.


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