Answers for "android studio how to create a button main activity"

2

how to move from one activity to another in android studio on button click

// also use set onclick listener
 public void next(View view) {
        Intent intent = new Intent(this,Activity2.class);
        startActivity(intent);
   }
Posted by: Guest on June-07-2020

Code answers related to "android studio how to create a button main activity"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language