I am having the following issue. I have ActivityA and ActivityB. I have some radio buttons in ActivityA and the user can select them. ActivityB is accessed trough ActivityA so when I press a button I go to ActivityB. In ActivityB I do some calculations and I want to return the result to ActivityA but save the changes made in ActivityA before going to ActivityB. 
If I use finish() I return to ActivityA and the selected buttons are saved but the result from ActivityB is not passed to ActivityA.
I want to know is there a way to achieve this?
 
     
    