开发者

WP7 App Events in Emulator

开发者 https://www.devze.com 2023-02-18 10:27 出处:网络
I\'m seeing some unexpected things happening in the emulator. When debugging and starting the app for the first time, the Application_开发者_C百科Launching fires just fine. When clicking the start bu

I'm seeing some unexpected things happening in the emulator.

When debugging and starting the app for the first time, the Application_开发者_C百科Launching fires just fine. When clicking the start button, the Application_Deactivated event fires fine. When click the back button, the Application_Activated event fires fine.

If I click the start button then go to my apps and launch my app, no events are fired. I would assume either the Application_Launching or Application_Activated would fire when the app is launched every time, just a different event depending on how the app got there.

Is this an issue with the emulator or do I have the wrong assumptions here?


Well, the events get fired right. What you missed is that debugger get dettached when you are launching "new instance" of your app. ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号