JLChen
2020-04-15 19545253f1977af3ef84b301183c2e12107983c9
迪拜定制/SmartHome/ON/Application.cs
@@ -32,6 +32,8 @@
                return;
            }
            Shared.Application.IsGpsEnable = false;
            base.OnCreate ();
            initAll ();
@@ -50,8 +52,10 @@
            Locale locale1 = Locale.Default;
            var localeList = Resources.Configuration.Locale;
            //if(localeList.Language == "zh") {
                //Language.CurrentLanguage = "Chinese";
            //Language.CurrentLanguage = "Chinese";
            //}
            string [] permissions = new string [] { Manifest.Permission.WriteExternalStorage, Manifest.Permission.RecordAudio,
            Manifest.Permission.Camera, Manifest.Permission.ProcessOutgoingCalls, Manifest.Permission.GetAccounts};
@@ -115,6 +119,8 @@
                Console.WriteLine ("OnDestroyAction");
                BusSocket.Stop ();
            };
            HDLUtils.SetAuthoritiesName ("com.hdl.SmartCenter.fileProvider");
        }
        public static bool IsShowTip = true;
        void init ()