In my app I display an initial splash screen - but under
certain conditions, i don't and move straight to the next
activity.

so in the onCreate() method of the SplashActivity

- I do not set a setContentView()

- and have

                        Intent intent = new Intent(Splash.this, 
MainActivity.class);
                        Splash.this.startActivity(intent);
                        Splash.this.finish();

is this ok?

sometimes the app seems to be hanging and am
trying to identify the reason why.


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to