Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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);
   }
 
PREVIOUS NEXT
Tagged: #move #activity #android #studio #button #click
ADD COMMENT
Topic
Name
3+5 =