how to start new activity on click button in android code example
Example: android how to start a new activity on button click
Intent intent = new Intent(this, ActivityToBeCalled.class);
startActivity(intent);
Intent intent = new Intent(this, ActivityToBeCalled.class);
startActivity(intent);