From 95a7e380db583108d9716c56fe6d298ca08f8f23 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 07 九月 2021 10:13:53 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/jpush_tst' into wxr7 --- HDL-ON_Android/SplashActivity.cs | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/HDL-ON_Android/SplashActivity.cs b/HDL-ON_Android/SplashActivity.cs new file mode 100644 index 0000000..1611515 --- /dev/null +++ b/HDL-ON_Android/SplashActivity.cs @@ -0,0 +1,28 @@ +锘縰sing Android.App; +using Android.Content; +using Android.OS; +using Com.Hdl.ON.Jpush.Androidjpush; +using Shared; + +namespace HDL_ON_Android +{ + [Activity(Theme = "@style/SplashTheme", MainLauncher = true, Name = "com.hdl.onpro.SplashActivity")] + [IntentFilter(new string[] { "com.hdl.onpro.SplashActivity", Intent.ActionView })] + public class SplashActivity : Activity + { + protected override void OnCreate(Bundle savedInstanceState) + { + base.OnCreate(savedInstanceState); + + + //鎵撳紑baseActivity + Intent i = new Intent(this, typeof(BaseActivity));//Intent intent=new Intent( 璧峰缁勪欢瀵硅薄 , 鐩爣 Service.class); + StartActivity(i); + + OverridePendingTransition(0, 0); + Finish(); + } + } + + +} \ No newline at end of file -- Gitblit v1.8.0