I'm trying to pass data with my intent. I wan to pass a topscore number (int) from one activity to another.
I'm pretty sure I did it:
The Finished activity loads as I wanted, but I want to retrieve this int data, "tally". I don't know how to do it.
I'm pretty sure I did it:
Code:
Intent keepscore = new Intent(this, Finished.class);
keepscore.putExtra("SomeIntData", tally);
startActivity(keepscore);
The Finished activity loads as I wanted, but I want to retrieve this int data, "tally". I don't know how to do it.