title: How to access a tabhost with multiple tabs of the same Activity?
body: <p>I'm developing an "Scorer Application" for a board game. The game can host between 2 and 8 players. So I have created a Tabhost with 8 tabs of the same activity(player.class). And it works :) </p>
  
  <pre><code>private void newTab(int i) {
  
      Intent intent = new Intent(this, Player.class);       
  
      TabSpec spec = mTabHost.newTabSpec("Player" + i);
  
      spec.setIndicator("Player " + i);
  
      spec.setContent(intent);
  
      mTabHost.addTab(spec);
  
  } 
  </code></pre>
  
  <p>but the problem comes if I want to reset the scores of everyone. So I have created a Menu with  onCreateOptionsMenu() with the item "Reset Scores". But I dont know how to access the Tabs to set the individual scores to '0'. </p>
  
  <p>I have tried :</p>
  
  <p>Player.setScores(0); // but it only change the score of the last created tab(Predictably)</p>
  
  <p>any suggestions?</p>
  
  <p>Thanks in advance.</p>