Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WP7 App Events in Emulator

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

When debugging and starting the app for the first time, the Application_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?

like image 453
Josh Close Avatar asked Nov 29 '25 22:11

Josh Close


1 Answers

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

like image 136
jumbo Avatar answered Dec 02 '25 04:12

jumbo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!