title: Android Text to Speech voice to indian accent
body: <p>I have developed an android application which provides text to speech functionality. I have used below code syntax to set indian accent :</p>
  
  <pre><code>public void onInit(int status) {
      if (status == TextToSpeech.SUCCESS) {
          int result;
          Locale locale = new Locale("en","IN");
          if (textToSpeech.isLanguageAvailable(locale) == TextToSpeech.LANG_AVAILABLE) {
              result = textToSpeech.setLanguage(locale);
          } else {
              result = textToSpeech.setLanguage(Locale.ENGLISH);
          }
          if (result == TextToSpeech.LANG_MISSING_DATA
                  || result == TextToSpeech.LANG_NOT_SUPPORTED) {
              Log.e("TTS", "This Language is not supported");
          } 
  
      } else {
  
          Log.e("TTS", "Initilization Failed!");
      }
  }
  </code></pre>
  
  <p>But when i access this functionality, it still speak in US accent.
  Any help would be much appreciated.</p>