Question

I have a TabActivity with two Activities. One ListView for the inbox and another for the outbox. When I click on an item(a thread) on the ListActivityThreads, I get the messages of that thread, in another ListActivityThreadDetail. When I am on that activity and answer a message I want to modify that single thread and passing it back to the ListActivityThreads.

Following the normal way to set results back to the previous activity I do this: I use startActivityForResult in ListActivityThreads and in ListActivityThreadDetail I set a result for the intent. But I cant get any data on onActivityResult in ListActivityThreads.

I have tried different ways to start activities and passing values on a TabActivity. But no luck so far... I cant use a BroadcastReceiver as my class already extends ListActivity. Also I have been trying this example using TabgroupActivity and startChildActivity. But cant receive anything using the method onActivityResult, neither implementing finishFromChildActivity on my parent acitivty.

I am really stuck with this, any help would be really appreciate!

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top