Certain events (like low on memory, or configuration change) can lead that your Android application is killed and possibly important data is lost when it’s recreated again. To prevent this, you need to temoprary preserve your important data in SavedStates (onSavedInstanceState and onRestoreInstanceState) and load it when the application is recreated to prevent losing critical data necessary for your application
Tag Archive: Activity
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/02/27/savedstate-preserve-data-when-application-is-recreated/