Speech Recognition in UWP not works in background
<p>I would like if Speech Recognition in UWP would recognize even if application is not active.</p>

<p>I have these settings currently:</p>

<pre><code>async void InitializeSpeechRecognizer()
    {
        SpeechRecognizer speechRecognizer = new SpeechRecognizer();
        speechRecognizer.StateChanged += HandleSpeech_State;
        speechRecognizer.ContinuousRecognitionSession.ResultGenerated += HandleSpeech;

        StorageFile grammar = await Package.Current.InstalledLocation.GetFileAsync(@"Grammar.xml"); // file

        SpeechRecognitionGrammarFileConstraint grammarContraint = new SpeechRecognitionGrammarFileConstraint(grammar);
        speechRecognizer.Constraints.Add(grammarContraint);

        SpeechRecognitionCompilationResult compilantResult = await speechRecognizer.CompileConstraintsAsync(); // compile grammar

        if (compilantResult.Status == SpeechRecognitionResultStatus.Success)
            await speechRecognizer.ContinuousRecognitionSession.StartAsync();
    }
</code></pre>

<p>InitializeSpeechRecognizer is called in MainPage</p>

<p>When I activate app I can see in debug window state changes. After I activate another app nothings happen :(</p>

<p>Thanks for any idea!</p>