| | |
| | | |
| | | string[] permissions = new string[] { Manifest.Permission.WriteExternalStorage, Manifest.Permission.RecordAudio, |
| | | Manifest.Permission.Camera, Manifest.Permission.ProcessOutgoingCalls, Manifest.Permission.GetAccounts}; |
| | | |
| | | //禁止屏幕长亮 |
| | | BaseActivity.KeepScreenON = false; |
| | | //隐藏迪拜虚拟按键 |
| | | BaseActivity.IsHideVirualButtons = true; |
| | | init(); |
| | | BaseActivity.OnCreateActoin += (activity, application) => |
| | |
| | | { |
| | | Console.WriteLine("OnDestroyAction"); |
| | | //BusSocket.Stop(); |
| | | OnAppConfig.Instance.unlockTime = DateTime.Now; |
| | | UserInfo.Current.unlockTime = DateTime.Now; |
| | | }; |
| | | |
| | | |
| | |
| | | { |
| | | IsEnterBackground = true; |
| | | //BusSocket.Stop(); |
| | | OnAppConfig.Instance.unlockTime = DateTime.Now; |
| | | UserInfo.Current.unlockTime = DateTime.Now; |
| | | } |
| | | |
| | | |