Answers for "Create an application to show Intent where one activity is passing data to another activity in the same application."

3

send variable intent

String sessionId = getIntent().getStringExtra("EXTRA_SESSION_ID");
Posted by: Guest on May-27-2020
2

send variable intent

Intent intent = new Intent(getBaseContext(), SignoutActivity.class);
intent.putExtra("EXTRA_SESSION_ID", sessionId);
startActivity(intent);
Posted by: Guest on May-27-2020

Code answers related to "Create an application to show Intent where one activity is passing data to another activity in the same application."

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language