0
在Windows Phone的C#/ XAML應用程序,立碑後恢復可以在Application_Activated
方法App.xaml.cs
檢測:如何檢測WinJS WP8.1應用程序在被墓碑化後何時恢復?
private void Application_Activated(object sender, ActivatedEventArgs e)
{
if (!e.IsApplicationInstancePreserved)
{
// we were tombstoned!
}
}
如何它在一個Windows Phone的HTML/JavaScript的應用程序進行檢測?