aplication crashes at setContentView()

view story

http://stackoverflow.com – im trying to set a splash screen to work for 5 sec and then open another intent but the emulator crush's i think its because the splash layout.xml public class Splash extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.splash); Thread t = new Thread (){ public void run (){ try{ wait(5000); }catch (InterruptedException e) { e.printStackTrace(); (HowTos)