Replace a fragment which has been added as tab of a tabhost

view story

http://stackoverflow.com – I got the following problem with my android app: I have a TabHost containing some Fragments as Tabs. These Fragments have been added programmatically. Now I would like to replace the content of a tab with an other Fragment. And I don't know how to achieve that. I found how to replace a fragment which was added via xml, but that is not what I'm trying to achieve. Thanks in advance for any suggestions. (HowTos)