Android - swipe between pages in API 8

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?

Answers


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


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


Need Your Help

How to get minimum/maximum latitude and longitude from a MapView?

android google-maps android-mapview android-maps bounding-box

Currently I am using the following code to get the minimum and maximum latitude and longitude from a (Google Maps) MapView object.

What is the designated initializer for NSTableCellView subclasses?

objective-c cocoa

I created a subclass of NSTableCellView to do some custom drawing. The table's content is obtained through a binding to an NSArrayController, thus, new instances of my NSTableCellView subclass are

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.