私はWindowsPhone8アプリを書いています。
アプリに切り替えるたびに(初めてでも、HOMEを押してからアプリのタイルを押して戻ってきた後でも)、Application_Launching()が呼び出されることに気づきました。一方、Application_Activated()は呼び出されません。
私が何か間違ったことをしているのだろうか。
// Code to execute when the application is launching (eg, from Start)
// This code will not execute when the application is reactivated
private void Application_Launching(object sender, LaunchingEventArgs e)
{
Log.AppLaunch();
}
// 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)
{
Log.AppActive();
}