I am currently working on 2.3 version of android and I want to switch my app to 4.0 version but the TabActivity is deprecated. So I was looking for working example
TabActivity
A great library is ActionBarSherlock. You can find it here. There are many examples and demos even for fragments.