From ea0b1e8e5f43c5fd0a7d479e25ede3b8cbea464a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 02 十二月 2024 17:17:19 +0800 Subject: [PATCH] tcp;可视对讲; --- HDL-ON_Android/SplashActivity.cs | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/HDL-ON_Android/SplashActivity.cs b/HDL-ON_Android/SplashActivity.cs index 0d6e150..3954e31 100644 --- a/HDL-ON_Android/SplashActivity.cs +++ b/HDL-ON_Android/SplashActivity.cs @@ -9,28 +9,24 @@ using Android.Support.V4.App; using Android.Support.V4.Content; using CN.Jpush.Android.Api; -//using Android.Widget; -using Com.Hdl.ON.Jpush.Androidjpush; using HDL_ON; -using Java.Util; using Shared; namespace HDL_ON_Android { - [Activity(Theme = "@style/SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTask, Name = "com.hdl.onpro.SplashActivity", ScreenOrientation = ScreenOrientation.Portrait)] - [IntentFilter(new string[] { "com.hdl.onpro.SplashActivity", Intent.ActionView })] + [Activity(Theme = "@style/SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTask, Name = "com.santan.smartcontrol.SplashActivity", ScreenOrientation = ScreenOrientation.Portrait)] + [IntentFilter(new string[] { "com.santan.smartcontrol.SplashActivity", Intent.ActionView })] public class SplashActivity : Activity { protected override void OnActivityResult(int requestCode, Result resultVal, Intent data) { - Console.WriteLine("123456"); if (requestCode == 99) { if (resultVal == Result.Ok) { if (!OnAppConfig.Instance.FirstRunApp) { - ////鎵撳紑baseActivity + //鎵撳紑baseActivity Intent i = new Intent(this, typeof(BaseActivity));//Intent intent=new Intent( 璧峰缁勪欢瀵硅薄 , 鐩爣 Service.class); StartActivityForResult(i, 1); OverridePendingTransition(0, 0); @@ -233,7 +229,7 @@ }; - HDLUtils.SetAuthoritiesName("com.hdl.onpro.fileProvider"); + HDLUtils.SetAuthoritiesName("com.santan.smartcontrol.fileProvider"); //Shared.Application.IsGpsEnable = true; //bool isfirst = true; -- Gitblit v1.8.0