0
나는 윈도우 폰 8 앱을 쓰고있다.windows phone 8 app Application_Activated() never called
방금 애플 리케이션으로 전환 할 때마다 (처음이든 아니든 상관없이 홈을 치고 다시 돌아와서 앱 타일을 치면) 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();
}
사실 앱 타일을 누르면 새로운 시작이되고, 다시 키를 누르면 다시 활성화됩니다. 고마워. – Roy