I am trying to achieve the following in Android API 16:
I want to be able to swipe through 2 screens, after which I have an activity, login, that starts. For now, the login activity displays a toast.  

Screen 1--> Screen2 --> Start Activity(e.g. login/registration screen)

I have used fragments as well as ViewPager and managed to swipe from screen 1 to screen 2. However, I am stuck in how to proceed beyond this.

I have used intents to start the activity.This however results in the transitions screen 1--> 2 not showing but I do get the toast message from the login screen. I am not sure where to place the intent or if I am doing this the right way.

How would I approach this? Any ideas or suggestions are welcome.