title: Swipe among activities in android
body: <p>i have 4 activities in which i have to swipe them right, left and if i am in last activity and swipe to the left then again first activity should be shown. </p>
  
  <p>can anybody have any idea how i can achieve this? or some sample code?</p>
  
  <p>thanks a lot.</p>