import intent android studio 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);