Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 Display Modes
  #1 (permalink)  
Old January 11th, 2011, 03:35 PM
Registered User
 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Figure 3-7, page 80 errata

FYI, your current errata page (as of Jan 11, 2011) for page 80 says this:

In Figure 3.7 the state block "onSaveInstanceState" and "onRestoreInstanceState" should be swapped.

There is no onSaveInstanceState in the chart to swap. There are two onRestoreInstanceState blocks and the second one is the error. The correct errata should say something like this instead:

In Figure 3.7 the state block in between onResume and onPause should be onSaveInstanceState.
Reply With Quote
  #2 (permalink)  
Old January 16th, 2011, 08:18 PM
Registered User
 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default need some help on error

i just got the book and am trying to do the first app, hello world and i am having an error.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
the R in "(R.layout" is underlined in red and the error message is "R cannot be resolved"
any help would be appreciative, thanks
Reply With Quote
Reply


Thread Tools
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
Page 17 Figure 1-1 leskelly BOOK: Beginning JavaScript and CSS Development with jQuery 4 March 18th, 2010 06:58 AM
FYI: Chapter 8, Figure 8-5, page 240 peace95 BOOK: Beginning Oracle Application Express ISBN: 9780470388372 0 June 24th, 2009 02:29 AM
Page 105, Figure 3-2 LongJohnSilver BOOK: Professional Visual Basic 2008 ISBN: 978-0-470-19136-1 0 March 3rd, 2009 10:20 AM
Figure 6.5, Page 296 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 0 June 4th, 2006 02:32 AM
Example on page 80 RWDelPorto BOOK: Beginning VB.NET Databases 5 March 15th, 2005 05:16 AM



All times are GMT -4. The time now is 04:51 AM.


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