views:

30

answers:

0

I have an app which contains 4 activities. The splash activity/screen is the first. It either connects to a service and starts activity 2 or times out after 8 seconds and starts activity 3.

When launching the app in debug from the emulator, it does start the splash activity OK but it's not forced to the front - the Home screen is still shown. I need to press the 'Menu' button, by which time the app has jumped to either activity 2 or 3.

How can I make the spash activity immediately visible on launch? ( I have used setConentView in the onCreate() and I have set its action as MAIN and its category as LAUNCHER in the manifest)