I am trying to understand the Tabs + ViewPager concepts in Android where I found this code while googling, http://thepseudocoder.wordpress.com/2011/10/13/android-tabs-viewpager-swipe-able-tabs-ftw/. I was just trying to copy paste and I found that:
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
These 3 packages are unable to find their way i.e they are marked as an Error in my Eclipse and I am not very sure what to do with these packages.
Anybody help me in getting that right and please let me know why these packages are used for?
What API level you given to your Project…cause Fragment is available since Android 3.0..and for lower level api to use it,you will have to use jar file From Here