View Single Post
Old July 23rd, 2010, 12:58 PM   #10 (permalink)
andywhoa
Member
 
Join Date: May 2010
Location: West Des Moines, IA
Posts: 105
 
Device(s):
Thanks: 9
Thanked 12 Times in 11 Posts
Default

Try changing the finally clause of your try/catch to this:
Code:
Intent intentLaunchMenu = new Intent(SplashActivity.this, MenuActivity.class);
startActivity(intentLaunchMenu);
finish();

Take out the stop(); It's not necessary (and is deprecated) as your thread is about to end.

From the Android documentation on Thread:
Quote:
stop()
This method is deprecated. because stopping a thread in this manner is unsafe and can leave your application and the VM in an unpredictable state.
andywhoa is offline  
Last edited by andywhoa; July 23rd, 2010 at 01:03 PM.
Reply With Quote