Answers for "how to open a new activity on button click"

10

intent android open activity

Intent intent = new Intent(this, DisplayMessageActivity.class);
        intent.putExtra(key:,value:);
        startActivity(intent);
Posted by: Guest on May-19-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 open a new activity on button click"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language