Creating a temporary, timed activity
- Go to manifest and move Main/Launcher intent filters to Splash activity
Thread splash = new Thread(new Runnable() {
@Override
public void run() {
try { sleep(2000); }
catch (Exception e) { }
startActivity(new Intent(getApplicationContext(), DesiredActivity.class));
finish();
}
});
splash.start();