title: Shared TTS no working after Activity is dead then alive again
body: <p>I took the code below and it works fine, sharing the TTS object to other activities:</p>
  
  <pre><code>       package com.simekadam.blindguardian;
  
              import android.content.Context;
  import android.speech.tts.TextToSpeech;
  import android.speech.tts.TextToSpeech.OnInitListener;
  
  public class SpeechHelper implements OnInitListener {
  
  private static TextToSpeech mTts;
  private String text; 
  private static final SpeechHelper helper = new SpeechHelper();
  
  public static SpeechHelper getInstance(){
  
      return helper;
  }
  
  
  public void say(String text, Context context){
  
      if(mTts == null){
          this.text = text;
          mTts = new TextToSpeech(context, (OnInitListener) helper);
  
      }
      else{
          mTts.speak(text, TextToSpeech.QUEUE_FLUSH, null);
      }
  }
  
  
  @Override
  public void onInit(int status) {
      // TODO Auto-generated method stub
      if (status == TextToSpeech.SUCCESS) {
          mTts.speak(text, TextToSpeech.QUEUE_FLUSH, null);
      }
  }
  
  public void stopTTS(){
      if(mTts != null){
          mTts.shutdown();
          mTts.stop();
          mTts = null;
      }
  }
  
  }
  </code></pre>
  
  <p>However, if I leave the activity and then I come back to it, my app simply doesn't speak anymore. No errors. It just doesn't speak anymore.</p>
  
  <p>Can anyone help me, please?</p>
  
  <p>Thanks!</p>
  
  <p>I just saw the following message in my messages in Eclipse: <em>"sending message to a handler on a dead thread"</em></p>
  
  <p>What could I make to solve this? =)</p>