android - passing data by startActivityForResult() and startActivity() among activitis -


i working on application has 3 activities: a, b , c.

the starting activity a after there button goes b, , in b button go c. in activity c need go a data.

so application runs this:

a -> b -> c -> -> c

i using

between a , b:

startactivity(intent); 

between b , c:

startactivityforresult(intent,1); 

but in activity a when use

onactivityresult(..); 

it not working expected.

can please me?

your sequence :

a -> b -> c -> -> c

i using

between , b:

startactivity(intent);

between b , c:

startactivityforresult(intent,1);

now, when exit activity c, callback comes b

b gets : onactivityresult()

so, please think , execute logic way


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -