From 39e816c5b7a4c73ec88a9ee4256a81e3dae52855 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 25 十一月 2022 10:16:05 +0800 Subject: [PATCH] 大华DLL同步 --- HDL_ON/UI/UI2/UserPage.cs | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs index e8c5add..506cee4 100644 --- a/HDL_ON/UI/UI2/UserPage.cs +++ b/HDL_ON/UI/UI2/UserPage.cs @@ -131,8 +131,13 @@ #if __Android__ //寮�鍚畾浣嶆湇鍔� - Shared.Application.StartGPSLocationService(); - + try + { + Shared.Application.StartGPSLocationService(); + }catch(Exception ex) + { + MainPage.Log("寮�鍚畾浣嶆湇鍔″紓甯�:" + ex.Message); + } if (DB_ResidenceData.Instance.NeedTip) { DB_ResidenceData.Instance.LastTipTime = DateTime.Now; if (CN.Jpush.Android.Api.JPushInterface.IsNotificationEnabled(Shared.Application.Activity) != 1) -- Gitblit v1.8.0