use startActivityForResult() in android_tutorial_pubsub [closed]
Hi, I want to modify the pubsub tutorial so the MainActivity call other Activity and wait for response. The problem is when I add startActivityForResult function, the 'talker' node and 'roxTextView' node dont show up in rxgraph. It seem NodeMainExecutor has some conflict with startActivityForResult().
Do you know how to fix it?
Thanks in advanced.
I'm not sure I understand completely. Are you saying that after the other activity is started, the nodes in the original activity now longer show up in rosgraph? That would be normal for at least the text view. Once a view is no longer visible, it is shutdown.
uhm not really. As soos as I start the app, the nodes was not show up. Beside, I use startActivityForResult() to call other activity and wait for response, so I think the main activity was not shutdown. After the other activity finish, the main activity will show up again.