1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| using Android.App;
| using Android.Content;
| using Android.OS;
| using Com.Hdl.ON.Jpush.Androidjpush;
| using Shared;
|
| namespace HDL_ON_Android
| {
| [Activity(Label = "SplashActivity", 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();
| }
| }
|
|
| }
|
|