Dear Jonathan,
I have provided the OnInit(int) method
String myText1 = "Did you sleep well?";
String myText2 = "I hope so, because it's time to wake up.";
mTts.Speak(myText1, QueueMode.Flush, null);
mTts.Speak(myText2, QueueMode.Add, null);
However, using Emulator, the program crash at Speak stage, have anyone tried
using Emulator to get the TextToSpeech work?
The ApiDemo java comes with TextToSpeech example
However, the monodroid ApiDemo does not comes with a TextToSpeech example.
I wonder if monodroid TextToSpeech works, please confirm before I decide to buy
the professional license
Thanks
Dave.
________________________________
From: Jonathan Pryor-2 [via Mono for Android]
<[email protected]>
To: davthomas <[email protected]>
Sent: Monday, 12 December 2011, 22:21
Subject: Re: How to Initialize text-to-speech for monodroid
On Dec 12, 2011, at 3:32 PM, davthomas wrote:
> Monodroid version
>
> public class TestAct:Activity,TextToSpeech.OnInitListener
public class TestAct : Activity, TextToSpeech.IOnInitListener {
You'll also need to provide the OnInit(int) method:
http://androidapi.xamarin.com/?link=T:Android.Speech.Tts.TextToSpeech.IOnInitListener/*
- Jon
_______________________________________________
Monodroid mailing list
[hidden email]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
________________________________
If you reply to this email, your message will be added to the discussion
below:http://mono-for-android.1047100.n5.nabble.com/How-to-Initialize-text-to-speech-for-monodroid-tp5069477p5069617.html
To unsubscribe from How to Initialize text-to-speech for monodroid, click here.
NAML
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/How-to-Initialize-text-to-speech-for-monodroid-tp5069477p5069771.html
Sent from the Mono for Android mailing list archive at Nabble.com._______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid