Android: communication between TabHost and it’s child

If you need to pass some data from TabHost to it’s child, you need to do the following:
1. Create public static child class variable and set it as current activity.

2. create public function with some action in Child class

3. Execute the function from Tabhost activity as following: