The following executable modes are available for phone7 : tombstoning , page state , application state , persistent data , transient state . tombstone and transient state because they can simulate multiple tasks. In tombstoned mode, the application is terminated by the operating system (this can reduce resource usage), you need to save the transient state , it is used to restore the original state of the application after the application is revived. For tombstone mode, mainly reflected in the application lifecycle .
the lifecycle includes launching , running , closing , deactivating , activating these five running states. deactivating , activating is the running state under tombstone . You can add Code in these two running states to complete the wake-up status or data transfer. In beta , both use and display are quite troublesome, but in the official version, the running result is clearly displayed.
Before callingTaskGenerally, the currentProgramExit and startTask, And then exitTaskAnd then send the corresponding information back to the program.TombstoneTo achieveTaskBut data transmission requires self-programmed implementation. To obtainEmail AddressFor exampleTombstone.
Sample Code: http://www.daisy123.com /? Page_id = 275 tombstone.zip