title: Android: How to call function of Activity inside of tab from the tabhost
body: <p>I have a tabhost with three tabs. Each is an activity. I would like to have a button which is in the action bar, the bar along the top with common buttons, call functions of the tab which is active.</p>
  
  <p>For example, an add function which could add something different to each tab depending on what tab was present when you clicked the button.</p>
  
  <p>So, I am aksing how to call a function in Activity A from the tabHost.</p>
  
  <p>And if that wont work, perhaps I can update the database from the tabhost and then refresh the tab content. Would that be easier?</p>
  
  <p>Thank you all for you time and support.</p>