how to use values in other activities android studio code example
Example 1: send variable intent
String sessionId = getIntent().getStringExtra("EXTRA_SESSION_ID");
Example 2: how to pass string between activities android
Bundle extras = getIntent().getExtras();
if(extras !=null) {
String value = extras.getString("KEY");
}