public static void Initialize(Application application, PhoneApplicationFrame rootFrame)
        {
            // Initialize the CrashReporter if it hasn't already been initialized
            CrashReporter.Initialize(application);

            // Get the RootFrame object
            RootFrame = rootFrame;

            // Hook into navigation failed event
            RootFrame.NavigationFailed += RootFrame_NavigationFailed;

            // Hook into obscured/unobscured events
            RootFrame.Obscured   += RootFrame_Obscured;
            RootFrame.Unobscured += RootFrame_Unobscured;

            // Add the navigation info callback to the CrashReporter
            CrashReporter.AdditionalLogInfoCallbacks.Add(NavigationInfoCallback);
        }
 private static void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
 {
     CrashReporter.LogException(e.Exception, "Navigation Failed");
 }