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
 
Old January 11th, 2011, 04: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.
 
Old January 16th, 2011, 09: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




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 11: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 06:16 AM





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