sniper8752
Well-Known Member
so I have tabs in my previous app, but not I have integrated a splash screen. I am relatively new with Android. My tabs activity extends TabActivity. My new splash screen activity extends Activity. I read that you cannot extend 2 activities. So I thought I could just open up the tabs activity. So they are separate classes right now.
When I run the app, the splash screen shows, goes to a black screen, then the app crashes.
What is the right way to do this? Why is the app crashing? I can provide code.
edit: I am thinking, i have finish(); at the end of the first main activity. nothing calls on that activity, so it does not know what to return to, and therefore it crashes. I tried commenting this out, but it still crashed.
When I run the app, the splash screen shows, goes to a black screen, then the app crashes.
What is the right way to do this? Why is the app crashing? I can provide code.
edit: I am thinking, i have finish(); at the end of the first main activity. nothing calls on that activity, so it does not know what to return to, and therefore it crashes. I tried commenting this out, but it still crashed.