-
Android Application Stop Responding After Splash Screen
over 7 years ago
-
about 7 years ago
Try this .............. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.splash_screen); final int SPLASH_DISPLAY_LENGTH = 5000; new Handler().postDelayed(new Runnable(){ @Override public void run() { Intent mainIntent = new Intent(Splash_screen.this,Main_View.class); startActivity(mainIntent); finish(); } }, SPLASH_DISPLAY_LENGTH); } }
-
-
over 7 years ago
It seems that you are establishingSQL connection inSplashScreen . Please provide us the complete code ofSplashScreen -
2 Answer(s)