Answers for "android start another activity"

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
0

android start new Activity from an activity with a child

val newIntent = Intent(this@Activity1, Activity2::class.java)
newIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK)
newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)

[email protected](newIntent)
Posted by: Guest on March-17-2021

Code answers related to "android start another activity"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language