Scenario:
I open the application by clicking the icon, do something, navigate through the activities, pause the application by clicking the "home" button.
Case 1:
If I open my application by clicking the icon again, the application will restart from the first step.
Case 2:
If I open the application from recently opened applications (in 4.0, by clicking the menu button and selecting my application), it will start from a paused state.
I want behavior 2 to always happen, I don't want my application to restart every time it opens by clicking the icon.
I compared the manifest file with other applications, and they are similar to mine, but they behave differently (for example, the 2nd case I want).
Edit:
The following message is set here: The application restarts completely at startup using the icon, click in the launch bar
but no answers: (
android android-activity icons
sanjeev
source share