From 592974441a4df95fffd9167c90192da1a390b1c2 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 06 六月 2023 11:51:12 +0800 Subject: [PATCH] Merge branch 'Dev-Branch' --- HDL-ON_Android/SplashActivity.cs | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/HDL-ON_Android/SplashActivity.cs b/HDL-ON_Android/SplashActivity.cs index 1fbe7c2..76e7e2b 100644 --- a/HDL-ON_Android/SplashActivity.cs +++ b/HDL-ON_Android/SplashActivity.cs @@ -103,7 +103,7 @@ //#endif JPushInterface.Init(this); - //Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83"); + Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83"); @@ -252,20 +252,22 @@ HDLUtils.SetAuthoritiesName("com.hdl.onpro.fileProvider"); //Shared.Application.IsGpsEnable = true; - bool isfirst = true; + //bool isfirst = true; + + + //鑾峰彇缁忕含搴� Shared.Application.LocationAction = (lon, lat) => { try { - - if (isfirst) - { - //鍙Е鍙戜竴娆� - //Shared.Application.LocationAction = null; - new HDL_ON.DAL.Server.HttpServerRequest().GetCityWeatherInfo(lon.ToString().Replace(",", "."), lat.ToString().Replace(",", ".")); - } - isfirst = false; + //if (isfirst) + //{ + // //鍙Е鍙戜竴娆� + // //Shared.Application.LocationAction = null; + // new HDL_ON.DAL.Server.HttpServerRequest().GetCityWeatherInfo(lon.ToString().Replace(",", "."), lat.ToString().Replace(",", ".")); + //} + //isfirst = false; ///鐩戝惉缁忕含搴� HDL_ON.UI.UI2.Intelligence.Automation.LogicMethod.Current.AppLatAndLonEvent(lon, lat); //鍏抽棴瀹氫綅鏈嶅姟 @@ -279,6 +281,8 @@ }; } + + /// <summary> /// /// </summary> -- Gitblit v1.8.0