I am still trying to get my head around some fundamental concepts in android.
I'd like to find out how to pass state from one activity to another. A perfect example is a login form.
Once the login has been performed, I could simply call:
Using java Syntax Highlighting
- Intent i= new Intent(LoginActivity.this, MainActivity.class);
- startActivity(i);
- finish();
Parsed in 0.029 seconds, using GeSHi 1.0.8.4
However, if I want to pass on some state from the original activity, to manipulate it on the following, how do we go about that?
Thanks in advance!




