tag:blogger.com,1999:blog-5295746446529817470.post3328793986557125124..comments2023-05-09T16:29:24.130+02:00Comments on Dotnet by Example: Detecting your Windows 8 app is running in the backgroundJoost van Schaikhttp://www.blogger.com/profile/02182444268071162776noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5295746446529817470.post-8770567382391447392012-08-31T09:07:03.476+02:002012-08-31T09:07:03.476+02:00@thinkingIn16Bits I am not sure what you mean. I r...@thinkingIn16Bits I am not sure what you mean. I register in OnLaunched in App.Xaml.cs, as far as I am aware of, this is only activated (thus registered) when the app is launched, right?Joost van Schaikhttps://www.blogger.com/profile/02182444268071162776noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-68537173774291797792012-08-30T23:02:09.054+02:002012-08-30T23:02:09.054+02:00Is above "Window.Current.VisibilityChanged&qu...Is above "Window.Current.VisibilityChanged" the right place to put "Window.Current.VisibilityChanged" ? I would expect that this shall register the event handler as many times as the method is invoked. Wouldn't it be better to put it below "Window.Current.Content = rootFrame;"thinkingIn16Bitshttps://www.blogger.com/profile/16782553204614961567noreply@blogger.com