title: Change the Text on an Android Tab
body: <p>I have an Android app with 3 tabs in a TabHost (text labels, no images). I set up the tabs like so:</p>
  
  <pre><code>intent = new Intent().setClass(this, AnnouncementsActivity.class);
  spec = tabHost.newTabSpec("news").setIndicator("News").setContent(intent);
  tabHost.addTab(spec);
  </code></pre>
  
  <p>I start up a background thread to fetch announcements from my server and I want to update the text label on the tab to tell the user how many new announcements there are. For example, I want to change the text on the Tab to "News (3)". How can I access and change the text label on the tab?</p>
  
  <p>Any suggestions are welcome!</p>