This tutorial describes how to navigate between activities.
For navigating between activities we use Explicit Intent.
For this we create a new Intent, specifying the current Activity's context and the class of the Activity to launch. And pass this intent into startActivity, as shown below:-
Intent intent = new Intent(MainActivity.this, SecondActivity.class);