Use a switch activity to launch one activity or another -> back button
<p>depending on some settings I decide which activity to start. This decision is done in some sort of switch activity whose only task is to start the corresponding activity (it also has no UI which is defined in the android manifest).</p>

<p>This construct works quite well but when I tap the back button, the app doesn't respond anymore, because it tries to open the switch activity but it has no ui. When I give the switch activity back its ui, I can close the app but I always see the empty switch activity, which is sort of ugly ;-)</p>

<p>I also tried to kill the app when back is tapped in one of the switch activity's successors with no success.</p>

<p>Any help would be great.</p>

<p>Bye!</p>
