Answers for "how to create a new intent when a button is preswed"

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 create a new intent when a button is preswed"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language