Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional Android 2 Application Development
Password Reminder
Register
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 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.

thanks
Reply With Quote
  #2 (permalink)  
Old March 9th, 2010, 09:27 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

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
@retomeier
Reply With Quote
  #3 (permalink)  
Old March 9th, 2010, 02:05 PM
Registered User
 
Join Date: Mar 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

thanks!
Reply With Quote
  #4 (permalink)  
Old September 23rd, 2010, 07:07 PM
Registered User
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

http://lh3.ggpht.com/_ft7fqSG3ylY/TJ...-52-27_381.jpg

Time for another Errata?
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
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 01: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 08:10 PM
ERROR : 5180, Severity:22, State:1 ckentebe SQL Server 2000 1 July 20th, 2004 02:47 AM
Error while trying to determine state of checkbox savoym C# 2 February 19th, 2004 09:36 AM



All times are GMT -4. The time now is 06:28 PM.


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