android - noHistory and child activity result -


i have following case:

activity a -> activity b (nohistory set) -> activity c

i need have result c returned a when c finishes. possible?

the way achieve retaining history b , forwarding result c via it. thus, though, if b launched , program restored background, b displayed. prefer b not kept on stack.

as confirmed kamen, flag_activity_forward_result should used in such case. tutorial says:

if set , intent being used launch new activity existing one, reply target of existing activity transfered new activity. way new activity can call setresult(int) , have result sent reply target of original activity.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

c# - how to write client side events functions for the combobox items -

ssh client with paramiko (python) -