Example #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");
     }
 }
Example #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)
 {
 }
Example #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;
 }
Example #5
0
 void AppActivated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     Debug.WriteLine("AppActivated");
 }
Example #6
0
 void Current_Activated(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
 {
     DisplaySplash = false;
     DataContextManager.HandleActivated();
     TransitionControl = new TransitioningContentControl();
 }
Example #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
 }