HDL-ON_Android/Application.cs
@@ -59,6 +59,30 @@ BaseActivity.KeepScreenON = false; //隐藏迪拜虚拟按键 BaseActivity.IsHideVirualButtons = true; //实现安卓返回按键 BaseActivity.BackKeyAction = () => { try { var result = MainPage.LoadEvent_BackAction(); switch (result) { case 0: break; case 1: case 2: BaseActivity.VerifyDateTime = DateTime.MaxValue; break; default: BaseActivity.VerifyDateTime = DateTime.MaxValue; break; } } catch (Exception ex) { Console.WriteLine(ex.Message); } }; init(); BaseActivity.OnCreateActoin += (activity, application) => {