我开发了一个 windows phone 7 应用程序,一旦用户在运行应用程序时锁定手机,当手机解锁时,应用程序必须将用户转发到不同的 .xmal 页面。
原因是该应用程序显示敏感信息。因此,如果用户在应用程序中间锁定他/她的手机并将其留在桌子上,没有人可以来解锁手机并查看敏感信息。
所以我想将用户转发到我已经创建的“输入 pin”页面。
提前致谢!
我开发了一个 windows phone 7 应用程序,一旦用户在运行应用程序时锁定手机,当手机解锁时,应用程序必须将用户转发到不同的 .xmal 页面。
原因是该应用程序显示敏感信息。因此,如果用户在应用程序中间锁定他/她的手机并将其留在桌子上,没有人可以来解锁手机并查看敏感信息。
所以我想将用户转发到我已经创建的“输入 pin”页面。
提前致谢!
阅读应用程序激活和停用流程。在这种情况下,您需要在应用程序激活事件中为用户处理所有准备工作,该事件在应用程序从休眠状态推送到活动状态时触发。
// Code to execute when the application is activated (brought to foreground)
// This code will not execute when the application is first launched
private void Application_Activated(object sender, ActivatedEventArgs e)
{
this.AddEventLogItem("Application Activated event");
// load application transient state when it is activated again
...
}