win universal app - How to subscribe on Activated event in a Windows Phone 8.1 -


do know, how subscribe on activated event in windows phone 8.1 universal app?

in windows phone 8, have used:

phoneapplicationservice.current.activated += 

wp8.1 runtime has little different lifecycle - see msdn. depending on needs can use:

  • app.current.resuming event called when resume app after had been suspended os - often, typically few seconds after navigate away, see how resume app,
  • windows.current.activated called when window activated/deactivated - have check event's args. event doesn't mean app had been suspended. should out because event fired example when show dialog (when window loses focus).
  • override methods application class - after using file pickers, sharing target , more.

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -