1

I tried to develope an android application like this, I found this code:

http://developer.android.com/training/implementing-navigation/lateral.html#horizontal-paging

but as you know becuase of fregment, it works on api 11 and up, how can I do the same in api 8?

  • 1
    you can use support library for backward compatibility – Raghunandan Dec 09 '13 at 07:10
  • 1
    http://stackoverflow.com/questions/7176841/android-fragment-api-for-api-level-11. and go through the docs and this http://developer.android.com/tools/support-library/index.html – Raghunandan Dec 09 '13 at 07:12

2 Answers2

1

Check the Setting up a project with ActionBar, NavigationTabs and swipe navigation and follow the steps giving in it after downloading the library of ActionBarSherlock

GrIsHu
  • 29,068
  • 10
  • 64
  • 102
1

You have to use Android Support library or Sherlock library. By any of it, you can achieve fragments and Swiping using ViewPager on older APIs of android.

Check the link below : This is using Sherlock Library

Dhaval
  • 1,597
  • 11
  • 15