Wrox Programmer Forums
|
BOOK: Beginning Android Tablet Application Development
This is the forum to discuss the Wrox book Beginning Android Tablet Application Development by Wei-Meng Lee; ISBN: 978-1-1181-0673-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android Tablet 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 September 13th, 2011, 02:27 PM
Registered User
 
Join Date: Sep 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question on LifeCycle: onDestroy()

In Chapter 2, you mention that When you click the Home button on the Android emulator (so that the activity is pushed to the background), the onPause() and onStop() events are fired. (the onDestroy() event is not called, indicating that the activity is still in memory). [implying onDestroy() method removes the object from memory]

Further, you mention that "an activity is destroyed when you press the Back button" and state is lost but on the next page, there is a note saying "Even if an application has only one activity and the activity is killed, the application will still be running in memory"

It is very confusing here, could you clarify the above note please? Thank you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Lifecycle Tracking in Data warehouse rahm0277 Book: Professional Microsoft SQL Server Analysis Services 2008 with MDX: 978-0-470-24798-3 0 April 29th, 2011 10:28 PM
FindControl question and a MasterPage question about controls Rushino ASP.NET 4 General Discussion 3 September 11th, 2010 03:17 PM
Disappearing UserName & Question within Customized PasswordRecovery Question Template eddiemcham ASP.NET 3.5 Basics 13 June 13th, 2009 04:23 AM
Page Lifecycle Aaron Edwards ASP.NET 2.0 Basics 3 May 4th, 2006 11:13 PM





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