I am trying to make it so that when the user presses a button on the default activity, it opens a new activity.
Here's what I've got.
The code for the button:
android:onClick="openmenu"
The code for the "openmenu" method:
public void openmenu(View view) {
Intent intent = new Intent(this , MainMenuPassed.class);
startActivity(intent);
}
Cheers guys!