Reputation: 297
Do anyone know, how to subscribe on Activated event in a Windows Phone 8.1 Universal App?
In Windows Phone 8, I have used:
PhoneApplicationService.Current.Activated +=
Upvotes: 1
Views: 1532
Reputation: 29792
WP8.1 Runtime has little different lifecycle - see MSDN. Depending on your needs you can use:
Upvotes: 3
Reputation: 4292
In windows phone 8.1 universal app use following code to subscribe for activated event.
Window.Current.Activated += Current_Activated;
Hope this helps!
Upvotes: 0