android studio intent documentation code example
Example: android studio intent usage
Intent i = new Intent(MainActivity.this, ActivityTwo.class);
startActivity(i);
Intent i = new Intent(MainActivity.this, ActivityTwo.class);
startActivity(i);