Switching between Android activities
<p>I am working on an Android application where I would want to switch between 3 activities (say Home, Map and Photo). Right now the flow is like 'Home>Map>Photo'. I would like to allow the user to switch between these 3 activities. Say if he wants to go from Photo to Map or from Photo to Home without destroying the Photo activity. What is the best way in Android to achieve this? </p>

<p>I went through other answers on SO but it seems like caching the data somewhere is the only feasible way which does not break other functionality (For ex. back button).</p>

<p>-- Edit --</p>

<p>I want this to work exactly like the way TabHost works. Will appreciate any ideas about how to achieve that.</p>
