start activity with internt android code example
Example 1: intent android open activity
Intent intent = new Intent(this, DisplayMessageActivity.class);
intent.putExtra(key:,value:);
startActivity(intent);
Example 2: android studio intent usage
Intent i = new Intent(MainActivity.this, ActivityTwo.class);
startActivity(i);