2012-01-04 8 views

答えて

2

これをご覧くださいAndroid TTS API

ここではそれを使用しての例です:

t1=new TextToSpeech(getApplicationContext(), new TextToSpeech.OnInitListener() { 
     @Override 
     public void onInit(int status) { 
      if(status != TextToSpeech.ERROR) { 
       t1.setLanguage(Locale.UK); 
      } 
     } 
    }); 

t1.speak("This will be spoken.", TextToSpeech.QUEUE_FLUSH, null); 
+2

リンクが死んでいる... – h22

+0

http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech- in.html –

関連する問題