I made an app that has three activities, and it works like this:
Activity A --> Activity B --> Activity C
and for returning from activity C to activity A is like this :
Activity C --> Activity B --> Activity A
and I wanna to pass an object in Activity C
to Activity A
, but when I press back button or what ever, all of activity's objects has destroyed,and I can't receive the object on Activity A .How can I pass an object in Activity C
to Activity A
?
(I used DB for solving this problem already and when I am in activity C , I insert the object in a table and also use the table in activity A for getting the object . But I am looking for easier way to solve it)
please guide me...
Thanks