Want to pass data between Activities in Android application? The easiest way to do this would be to pass the session id to the signout activity in the Intent you’re using to start the activity:
Intent intent = new Intent(getBaseContext(), SignoutActivity.class);
Access that intent on next activity:
String sessionId = getIntent().getStringExtra("EXTRA_SESSION_ID");
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.