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. ;)
精彩评论