Answers for "how to go another screen in android studio on button click"

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
3

android how to start a new activity on button click

Intent intent = new Intent(this, ActivityToBeCalled.class);
startActivity(intent);
Posted by: Guest on August-22-2020

Code answers related to "how to go another screen in android studio on button click"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language