title: how to start an activity inside fragment viewpager
body: <p>I'm creating a swipeable Sherlock tab. I used this tutorial to do it:</p>
  
  <p><a href="http://www.androidbegin.com/tutorial/android-actionbarsherlock-viewpager-tabs-tutorial/" rel="nofollow">Android ActionBarSherlock ViewPager Tabs Tutorial</a></p>
  
  <p>However when I want to start an activity from inside of a fragment (for example FragmentTab1) I need context to create intent and start activity.
  I'm in the Fragment class and don't have access to context!
  I can't use getActivity() too, because FragmentTab1 is created inside of getItem() function in FragmentPagerAdapter class.
  What should I do?!</p>