Below is an attempt to port java example code on initializing Text to speech
engine. 
How to do that in monodroid
>>> 
      mTts = new TextToSpeech(this,
            this  //TextToSpeech.OnInitListener
            );

thanks
================================================
public class TestAct extends Activity implements
TextToSpeech.OnInitListener {
   
    private TextToSpeech mTts;

 
    public void onCreate(Bundle savedInstanceState) {
    
        
        mTts = new TextToSpeech(this,
            this  //TextToSpeech.OnInitListener
            );
 
    }

Monodroid version

public class TestAct:Activity,TextToSpeech.OnInitListener 
{
    
    private TextToSpeech mTts;
   
  
    protected override void onCreate(Bundle savedInstanceState) {
    

     
        mTts = new TextToSpeech(this,
            this  //TextToSpeech.OnInitListener
            );

    }


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/How-to-Initialize-text-to-speech-for-monodroid-tp5069477p5069477.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to