I have two beginnings of real anders. The first is not perfect, but very easy to implement; the second should give the expected results, but more difficult to implement.
One of them is to start actions with FLAG_ACTIVITY_REORDER_TO_FRONT and FLAG_ACTIVITY_PREVIOUS_IS_TOP. This will give the expected behavior for any existing activity. It still does not work if the activity is not already in the back of the stack, especially on the first start.
Another opportunity that I have not yet implemented is to create an ActivityManager very similar to TabHost and pass the intent on to this guy. He then takes responsibility for loading the next activity into his onNewIntent () method. This should work and allows separate development of individual activities.
source share