Q:

Swipe for activities in Android

I am trying to build an app in which I want to go to a new page through swipe-say.  I have about 10 different pages and I want to go to these pages by swiping.  Can I implement these pages as separate activities?  Can I swipe from one activity to another?  I strongly like to implement these pages in seperate xml files rather than creating everything in a single xml page.  But as far as I have searched, there are no proper tutorials or blogs giving an appropriate example of a program implementing swipe.  If possible, provide some working codes. 
Thanks in advance. 

A:

It seems that a FragmentPager is what you want.  
Examples and code on the linked page. 
If you build for earlier versions of Android, the necessary code is included in the Android Support Package.