HDL-ON_Android/Application.cs
@@ -1,4 +1,5 @@ using System; using System.Net; using Android; using Android.Content; using Android.Net; @@ -74,6 +75,19 @@ }; HDLUtils.SetAuthoritiesName("com.hdl.onpro.fileProvider"); //Shared.Application.IsGpsEnable = true; Shared.Application.LocationAction = (arg1, arg2) => { Shared.Application.LocationAction = null; new HDL_ON.DAL.Server.HttpServerRequest().GetCityInfo(arg1.ToString(), arg2.ToString()); MainPage.Log($"经纬度:::{arg1}:{arg2}"); }; } public static bool IsShowTip = true; void init()