The document discusses the application lifecycle on mobile devices and how developers should handle interruptions, user expectations, and different lifecycle events. It covers topics like tombstoning, where the application is dead but some state is saved, and how restoring state is important for a good user experience. Code samples demonstrate saving state on deactivation and restoring it on activation. Managing resources properly during lifecycle events is required for apps to be published.
56. Resource Management - 1 Deactivating App Page. OnNavigatedFrom - You may release phone resources, but not necessarily, the framework is doing it anyway - You MUST Save app/page state App. Deactivated Framework: Detach Resources Framework: Suspend Timers and Threads Dormant App