title: Replacement of TabActivity with FragmentActivity and Fragments
body: <p>Since TabActivity is deprecated I need to find a way to do it with Fragments. I have worked with Fragments before I know how it works but I need a guide to create my tab host with FragmentActivities. I have found a couple of examples on the internet, and they are all about putting fragments into a container for the tabs.</p>
  
  <p>What I want is to put FragmentActivities for each tab. Because in my application I will be using 4 tabs and each of the tabs have really complex content in it. As a result, I need to have a FragmentActivity for each tab to manage the Fragments that I will put under each tab within a separated container.</p>
  
  <p><strong>SOLUTION:</strong> </p>
  
  <p>After answers and searching on internet I ended up with a Solution. According to the solution I have found, I keep track of Fragments in separated stack for each tab under tab host. <a href="https://github.com/osayilgan/samples/tree/master/SampleApp" rel="nofollow">Here</a> is my GitHub repository, I created a small sample app for this problem.</p>