Answers for "using intent in android studio"

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
1

android studio intent usage

Intent i = new Intent(MainActivity.this, ActivityTwo.class);
startActivity(i);
Posted by: Guest on December-07-2020
3

intent android

Intent intent = new Intent(MainActivity.this,MainActivity2.class);
 intent.putExtra("key",value);
 startActivity(intent);
////////////////////
 String string =getIntent().getStringExtra("key");
Posted by: Guest on May-05-2021

Code answers related to "using intent in android studio"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language