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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -