when does the activated event fire in windows phone 8.1 WINRT apps -


I have overridden the onactive event in app.xaml, but the handler is never executed

  Protected Override Zero Current (IActivatedEventArgs Args) {// Test Code}  

I feel like you start again and activate. In WP8.1 RT it works a bit differently in WP8.0. Please see this is a list in which your app is being activated. For example Open Attached will launch after FileOpenPicker , but after suspension you will not be able to remove it (then resume Do event has been removed).

You will not be able to test using your onactivated lifecycle event dropdown. To check this, you have to implement it (take a look at these lifecycle events in MSDN), open project properties, go to debug and do not launch a , but debug it When my code begins

Please also remind that your app can be finished by OS (like due to lack of resources), while it is inactive / suspended < / P>


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -