/// <summary>
 /// The application go to background and continue running
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void PhoneApplicationService_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
 {
     this.runningInBackground = true;
     if (RunningInBackgroundChanged != null)
     {
         RunningInBackgroundChanged(this, new EventArgs <bool>(this.runningInBackground));
     }
 }
Beispiel #2
0
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
 {
     ViewModel.AppIsRunningInBackground = true;
     if (ViewModel.Timer != null && ViewModel.Timer.IsTiming)
     {
         ViewModel.Timer.SuspendLapTimerUpdates();
     }
 }
Beispiel #3
0
        private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
        {
            FSLog.Info("Entering background");
            LogMemoryInfo();
#if HAVE_BACKGROUND_RUNNING
            RunningInBackground = true;
#endif
        }
Beispiel #4
0
        private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
        {
            // Pages can check this value and know to suspend all unnecessary processing such as UI updates
            RunningInBackground = true;

        }
Beispiel #5
0
 // Code to execute when the application is running in background
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
 {
   RunningInBackground = true;
 }
        private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
        {
            isRunningInBackground = true;

            ((MainPage)(((System.Windows.Controls.ContentControl)(App.RootFrame)).Content)).sendLocationData();
        }
Beispiel #7
0
 private void PhoneApplicationService_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
 {
     Log.Debug("e=" + e.ToString());
 }
Beispiel #8
0
        private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
        {
            LOG.Info("RunningInBackground");

            // Do something, if required
        }
Beispiel #9
0
        private void PhoneApplicationService_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
        {

        }
Beispiel #10
0
        private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
        {
            LOG.Info("RunningInBackground");

            // Do something, if required
        }
Beispiel #11
0
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
 {
     RunningInBackground = true;
     // Suspend all unnecessary processing such as UI updates
     // I think I add something here about the alarm?
 }
Beispiel #12
0
        private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
        {
            isRunningInBackground = true;

            ((MainPage)(((System.Windows.Controls.ContentControl)(App.RootFrame)).Content)).sendLocationData();
        }
Beispiel #13
0
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
 {
     RunningInBackground = true;
     // Suspend all unnecessary processing such as UI updates
     // I think I add something here about the alarm?
 }
Beispiel #14
0
 /// <summary>
 /// Handles the RunningInBackground event. Because this app's registered to run in the background (CBE)
 /// this event is raised instead of the normal Deactivated event
 /// </summary>
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
 {
     IsRunningInBackground = true;
     Logger.Log("Application is now running in the background (CBE)");
 }
 private void PhoneApplicationService_OnRunningInBackgroundunningInBackground(object sender, RunningInBackgroundEventArgs e)
 {
     Debug.WriteLine("Going to background");
     IsRunningInBackground = true;
     Mvx.Resolve <IMvxMessenger>().Publish(new GoingToBackgroundMessage(this));
     if (!Mvx.Resolve <ILocationTrackerService>().IsTracking)
     {
         StopWatching();
     }
 }
Beispiel #16
0
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
 {
     ErrorReporting.Log("RunningInBackground");
     AppMetadata.Current.RunningInBackground = true;
 }
Beispiel #17
0
 private void PhoneApplicationService_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
 {
     StateUtility.IsRunningInBackground = true;
     // When the applicaiton is deactivated, save the current deactivation settings to isolated storage
     SaveCurrentDeactivationSettings();//for fast resume
 }
Beispiel #18
0
 /// <summary>
 /// Event raised when user navigates away from app while location tracking
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void PhoneApplicationService_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
 {
     RunningInBackground = true;
 }
Beispiel #19
0
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
 {
     diagLog("RunningInBackground");
     RunningInBackground = true;
 }
Beispiel #20
0
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
 {
     // Pages can check this value and know to suspend all unnecessary processing such as UI updates
     RunningInBackground = true;
 }
Beispiel #21
0
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
 {
     ErrorReporting.Log("RunningInBackground");
     AppMetadata.Current.RunningInBackground = true;
 }
 private void Application_RunningInBackground( object sender, RunningInBackgroundEventArgs args )
 {
     RunningInBackground = true;
     // Suspend all unnecessary processing such as UI updates
 }
Beispiel #23
0
 private void service_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
 {
     IsRunningInBackground = true;
 }
Beispiel #24
0
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
 {
     RunningInBackground = true;
 }
Beispiel #25
0
 private void service_RunningInBackground(object sender, RunningInBackgroundEventArgs e)
 {
     IsRunningInBackground = true;
 }
Beispiel #26
0
 private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args)
 {
     RunningInBackground = true;
     // Suspend all unnecessary processing such as UI updates
 }
Beispiel #27
0
 private void AppInBackground(object sender, RunningInBackgroundEventArgs e)
 {
     InBackground = true;
 }