惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
博客园_首页
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
The Cloudflare Blog
量子位
人人都是产品经理
人人都是产品经理
小众软件
小众软件
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
Attack and Defense Labs
Attack and Defense Labs
Hacker News: Ask HN
Hacker News: Ask HN
TaoSecurity Blog
TaoSecurity Blog
Forbes - Security
Forbes - Security
罗磊的独立博客
Webroot Blog
Webroot Blog
美团技术团队
Help Net Security
Help Net Security
Google DeepMind News
Google DeepMind News
博客园 - 三生石上(FineUI控件)
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
H
Heimdal Security Blog
C
Check Point Blog
V2EX - 技术
V2EX - 技术
The Last Watchdog
The Last Watchdog
Microsoft Azure Blog
Microsoft Azure Blog
AI
AI
Cloudbric
Cloudbric
Application and Cybersecurity Blog
Application and Cybersecurity Blog
W
WeLiveSecurity
P
Privacy International News Feed
T
The Exploit Database - CXSecurity.com
P
Privacy & Cybersecurity Law Blog
B
Blog RSS Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
L
LINUX DO - 热门话题
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
Arctic Wolf
O
OpenAI News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 【当耐特】
C
Cyber Attacks, Cyber Crime and Cyber Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Y
Y Combinator Blog
Know Your Adversary
Know Your Adversary

博客园 - 風語者·疾風

转载:ZooKeeper Programmer's Guide(中文翻译) Python【map、reduce、filter】内置函数使用说明(转载) Python使用基础 Redis Sentinel:集群Failover解决方案(转载) Sentinel-Redis高可用方案(二):主从切换 Sentinel-Redis高可用方案(一):主从复制 照片方案 8天学通MongoDB(实际操作版)——第九天 构建学习型部署环境 8天学通MongoDB(实际操作版)——第一天 基础入门 构建Ubuntu Server试验环境 单元测试培训系列:(二)单元测试与Visual Studio My Record Series: (1.2) Windows Phone 7 Launchers and Choosers My Record Series: (1.1) Windows Phone 7.1 Development Environment 结合测试驱动TDD实施单元测试UnitTest 架构评审表(Architecture & Design Review Check List) 单元测试培训系列:(三)可测试性(Testability)与重构Refactoring 单元测试培训系列:(一)单元测试概念以及必要性 .NET Mocking Framework对比 Ajax-Enabled WCF Service中如何获取到Response
My Record Series: (1.3) Windows Phone 7 Application Events
風語者·疾風 · 2011-07-06 · via 博客园 - 風語者·疾風

Application_Launching

  发生时机
  用户从已安装应用列表点击并启动应用,一个应用实例被创建

  动作
  不要从独立存储中去读取配置信息,那样会降低加载速度;
  不要尝试去恢复临时性状态数据(内存变量);
  当一个应用被启动,它会总是被当做一个新的实例展现。(不是接着上次操作)

Application_Activated
  发生时机
  触发这个需要同时满足两个条件:
    1. 用户使用Launcher,Chooser或是启动了另一个应用,导致离开了当前应用;
    2. Launcher或Chooser操作完成后返回到应用或Back按键返回到应用。
  这个事件不会在应用首次启动时被激活。
  动作
  应用应允许用户像从未离开这个应用一样继续操作;
  临时性数据应该被恢复,但不应尝试从独立存储中读取以避免导致运行变慢的可能性。

Application_Deactivated
  发生时机
  用户使用Launcher, Chooser或是启动了另一个应用,导致离开了当前应用
  但这个事件不会在程序关闭时发生
  动作
  应该保存所有临时性状态(例如当前应用的会话信息)到State dictionary;保存所有持久化信息到独立存储。
  该事件最大允许执行时间为10秒,如果超过10秒还未能执行完成,程序将被关闭而不是进入墓碑化。

Application_Closing
  发生时机
  使用Back按键退出应用程序的第一页
  动作
  保存所有持久化信息到独立存储