How to always start from a startup activity on Android?
<p>There are three different cases:</p>

<p>1) A user launches an app, navigates in it, pressed home and click on the app icon again to launch our app again.</p>

<p>2) A user launches an app, navigates in it, presses home, chooses recent and click on the app to launch our app again.</p>

<p>3) A user launches an app, navigates in it, click something in the app (TextView with a link), which calls another app (as example Email) and user clicks back button, which bring us back to our app.</p>

<p>I know about flag "clearTaskOnLaunch" flag, it solves case #1.</p>

<p>I know about about flag "excludeFromRecents", it solves case #2 (may be not the most user friendly solution, but it works).</p>

<p>What about case #3? I have a workaround right now. However, I will have to put it on all activities which can be lead to another app. I wonder, whether there is better way to solve it (without handling it in all such activities).</p>
