2014-02-20 29 views
2

VoiceCommand几乎就像这个例子:WindowsPhone | VoiceCommand可导致方法调用,而不是导航

<VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.0"> 
    <CommandSet xml:lang="en-US"> 
     <CommandPrefix>Contoso Rodeo</CommandPrefix> 
     <Example> play a new game </Example> 

     <Command Name="PlayUnknownLevel"> 
      <Example> replay level two </Example> 
      <ListenFor> [and] replay level {*} </ListenFor> 
      <Feedback> Unknown level; going to level selection... </Feedback> 
      <Navigate Target="LevelSelect.xaml" /> 
     </Command> 

     ... 

    </CommandSet> 
</VoiceCommands> 

VoiceCommand已经认识我需要调用一些方法

问题是:VoiceCommand导致了方法调用而不是导航?

回答

相关问题