Answers for "android activity intent"

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

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 "android activity intent"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language