I have three activities in my app:
- .OpeningScene: An opening activity that contains my logo, business info, copyright, etc. and a start button that launches the intent to move to the next activity
- .hfmain: This in the main app activitty with a help button, that launches the intent to the last activity, which is a help screen
- .helpscreen: The help screen has simple instructions and a back button to return the user to the main app activity (.hfmain)
Here is my issue. The first time I enter the app, the opening activity is launched from the icon as it should, but if I leave the application and come back to the icon to start the app again, the application picks up in the activity where it was left. I know this is part of the life cycle, but why isnt the opening activity for the launcher being called each time the icon is clicked?
Here is my manifest:
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".OpeningScene"
android:label="@string/app_name"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.INTROSCENE" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".hfmain"
android:screenOrientation="portrait" />
<activity android:name=".helpscreen"
android:screenOrientation="portrait" />
</application>