| | |
| | | public override void WillEnterForeground(UIApplication application) |
| | | { |
| | | SharedMethod.SharedMethod.IsBackground = false; |
| | | BusSocket.Start(6000); |
| | | Console.WriteLine("WillEnterForeground"); |
| | | UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0; |
| | | } |
| | |
| | | public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) |
| | | { |
| | | //AppCenter.Start("b95f7814-49fb-4345-bac5-98e70d098252", typeof(Analytics), typeof(Crashes)); |
| | | Console.WriteLine("FinishedLaunching"); |
| | | base.FinishedLaunching(application, launchOptions); |
| | | |
| | | SharedMethod.SharedMethod.sharedApp = application; |
| | |
| | | //Harpy.Harpy.SharedInstance.AlertType = Harpy.HarpyAlertType.Skip; |
| | | //Harpy.Harpy.SharedInstance.DebugEnabled = false; |
| | | //Harpy.Harpy.SharedInstance.ForceLanguageLocalization = Harpy.Constants.HarpyLanguageChineseSimplified; |
| | | Console.WriteLine("FinishedLaunching"); |
| | | return true; |
| | | } |
| | | } |