tags:

views:

65

answers:

2

how to store previous activity value in android

+2  A: 

Hello,
Could you describe your use case? Do you want to get the return value when you started your activity with startActivityForResult? Or maybe you want to know what was the activity that started your one? Or is it sth else?

Ramps
A: 
Intent mainIntent = Intent(ThisActivity.this, UpComingActivity,class);
mainIntent.putExtrat("To Store", "Value");

Afterwards then getExtra can be used with the KeyValue for getting the OutCome.

y ramesh rao