Пример #1
0
 void AppActivated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     Debug.WriteLine("INFO: AppActivated");
     try
     {
         CordovaBrowser.InvokeScript("eval", new string[] { "cordova.fireDocumentEvent('resume');" });
     }
     catch (Exception)
     {
         Debug.WriteLine("ERROR: Resume event error");
     }
 }
Пример #2
0
 void AppActivated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     Debug.WriteLine("INFO: AppActivated");
     try
     {
         CordovaBrowser.InvokeScript("CordovaCommandResult", new string[] { "resume" });
     }
     catch (Exception)
     {
         Debug.WriteLine("ERROR: Resume event error");
     }
 }
 /// <summary>
 /// Occurs when the application is being made active after previously being put
 /// into a dormant state or tombstoned.
 /// </summary>
 public virtual void OnResume(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
 }
Пример #4
0
 /// <summary>
 /// Occurs when the application is being made active after previously being put
 /// into a dormant state or tombstoned.
 /// </summary>
 public override void OnResume(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     RunsInBackground = false;
 }
Пример #5
0
 void AppActivated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     Debug.WriteLine("AppActivated");
 }
Пример #6
0
 void Current_Activated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     DisplaySplash = false;
     DataContextManager.HandleActivated();
     TransitionControl = new TransitioningContentControl();
 }
Пример #7
0
 /// <summary>
 /// Occurs when the application is being made active after previously being put
 /// into a dormant state or tombstoned.
 /// </summary>
 public override void OnResume(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     //See to change player status
 }