how to pass arguments between activities android code example
Example 1: send variable intent
String sessionId = getIntent().getStringExtra("EXTRA_SESSION_ID");
Example 2: send variable intent
Intent intent = new Intent(getBaseContext(), SignoutActivity.class);
intent.putExtra("EXTRA_SESSION_ID", sessionId);
startActivity(intent);