| | |
| | | using System; |
| | | using System.Net; |
| | | using Android; |
| | | using Android.Content; |
| | | using Android.Net; |
| | |
| | | BaseActivity.IsHideVirualButtons = true; |
| | | init(); |
| | | BaseActivity.OnCreateActoin += (activity, application) => { |
| | | Language.CurrentLanguage = "Chinese"; |
| | | Locale locale1 = Locale.Default; |
| | | var localeList = Resources.Configuration.Locale; |
| | | if (localeList.Language == "zh") |
| | |
| | | }; |
| | | |
| | | HDLUtils.SetAuthoritiesName("com.hdl.onpro.fileProvider"); |
| | | |
| | | //Shared.Application.IsGpsEnable = true; |
| | | |
| | | Shared.Application.LocationAction = (arg1, arg2) => { |
| | | Console.WriteLine( "1111111111111111"); |
| | | 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() |