Cortana demo work-a-rounds – C#

keywords: cortana windows 8 windows 8.1 windows 9 windows 8.1 phone speech work-around emulator problem
There was a problem starting in-app speech recognition. The details are provided below.
You will need to accept the speech privacy policy

Startup VS as Admin, then :
Hit_WIndows_Key

 

scroll_Right

settings

speech

Check

 

 

Null reference exception, added null handling in:
MainPage.xaml.cs : private async void InitializeRecognizer()

case AsyncStatus.Error:
//Added null handling.
if (operation != null && operation.ErrorCode != null)
{
hResult = operation.ErrorCode.HResult;
message = operation.ErrorCode.Message;
}
MessageBox.Show(String.Format(
AppResources.SpeechRecognitionErrorTemplate,
hResult,
message));

Sources:
http://msdn.microsoft.com/en-us/magazine/jj721592.aspx

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: