Next This is a tutorial. I am making an example speech recognition program in WP8.I code, for example:
public async void SpeechToText_Click(object sender, RoutedEventArgs e) { SpeechRecognizerUI speechRecognition=new SpeechRecognizerUI(); SpeechRecognitionUIResult recoResult=await speechRecognition.RecognizeWithUIAsync(); if (recoResult.ResultStatus == SpeechRecognitionUIStatus.Succeeded) { MessageBox.Show(string.Format("You said {0}.", recoResult.RecognitionResult.Text)); } }
After starting the program, I always come across the message “ We are sorry, but we can’t access the network right now ,” the voice said.
Is an internet connection required? I am checking my internet connection, but that’s good, so the problem is there, can anyone explain? Is there an emulator problem or is something missing?
c # speech-recognition windows-phone-8
ridoy
source share