package ch.maden.dm002; import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class Splash extends Activity { @Override protected void onCreate (Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate (savedInstanceState); setContentView (R.layout.splash); Thread timer = new Thread () { public void run () { try { sleep (5000); // Sleep for 5000 msec } catch (InterruptedException e) { e.printStackTrace (); // debug dump } finally { Intent openStartingPoint = new Intent ("ch.maden.dm002.STARTINGPOINT"); startActivity (openStartingPoint); } } }; timer.start (); } }