android open activity on button click 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);