| | |
| | | |
| | | BaseActivity.IsHideVirualButtons = true; |
| | | init(); |
| | | BaseActivity.OnCreateActoin += (activity, application) => { |
| | | Language.CurrentLanguage = "Chinese"; |
| | | BaseActivity.OnCreateActoin += (activity, application) => |
| | | { |
| | | Language.CurrentLanguage = "Chinese"; |
| | | Locale locale1 = Locale.Default; |
| | | var localeList = Resources.Configuration.Locale; |
| | | if (localeList.Language == "zh") |
| | |
| | | Language.CurrentLanguage = "Chinese"; |
| | | } |
| | | |
| | | BaseActivity.NetworkStateChanged += (int obj) => { |
| | | BaseActivity.NetworkStateChanged += (int obj) => |
| | | { |
| | | BusSocket.Stop(); |
| | | new System.Threading.Thread(() => { |
| | | System.Threading.Thread.Sleep(1000); |
| | | BusSocket.Start(6000); |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | }; |
| | | |
| | | }; |
| | |
| | | }; |
| | | BaseActivity.OnResumeAction += (activity) => { |
| | | checkSomeInfo(); |
| | | new HDL_ON.UI.AppUnlockPage().LoadPage(); |
| | | }; |
| | | BaseActivity.OnDestroyAction += (activity) => { |
| | | Console.WriteLine("OnDestroyAction"); |
| | |
| | | //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()); |