Wrox Programmer Forums
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 March 9th, 2010, 12:08 AM
Registered User
Join Date: Mar 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error in Monitoring State Changes

I was reading Chapter 3 on "Monitoring State Changes" of page 80 and saw a possible error on Figure 3.7.

I think the state block "onSaveInstanceState" and "onRestoreInstanceState" should be reversed as it doesn't make sense to save instance state after onCreate, likewise, it doesn't make sense to restore instance state after onResume.

I will submit this possible error.

Old March 9th, 2010, 09:27 AM
Reto's Avatar
Wrox Author
Join Date: Oct 2008
Posts: 61
Thanks: 1
Thanked 7 Times in 6 Posts

Eeek! You're right, that's an error that slipped through. My apologies and thanks for pointing it out to us.
Reto Meier

Author, "Professional Android 4 Application Development", Wrox, ©2012, 2010, 2008
Old March 9th, 2010, 02:05 PM
Registered User
Join Date: Mar 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks Reto for your prompt reply.

Despite these errors, this is still the best book on Android so far.
Keep it going!
I will keep my questions/comments coming while going through this book.

Old September 23rd, 2010, 06:07 PM
Registered User
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I have the third printing, and now Figure 3-7 has Activity.onRestoreInstanceState occuring after Activity.onCreate and Activity.onResume.


Time for another Errata?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Msg 128, Level 15, State 1 paulw4 SQL Server 2005 7 February 25th, 2009 04:51 AM
Session state error shoakat ASP.NET 2.0 Professional 9 July 26th, 2007 12:09 PM
Session State|View State|Do I have other options? rockon ASP.NET 1.x and 2.0 Application Design 2 October 5th, 2005 07:10 PM
ERROR : 5180, Severity:22, State:1 ckentebe SQL Server 2000 1 July 20th, 2004 01:47 AM
Error while trying to determine state of checkbox savoym C# 2 February 19th, 2004 09:36 AM

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