Voice Recognition Connection Error

前端 未结 2 1226
旧巷少年郎
旧巷少年郎 2021-01-13 20:30

I,m trying to work through and test a Voice Recognition example based on the VoiceRecognition.java example at http://developer.android.com/resources/samples/ApiDemos/src/com

相关标签:
2条回答
  • 2021-01-13 20:50

    Ok... problem fixed.

    It appears you cannot use android:launchMode="singleInstance" when using the RecognizerIntent. I removed this from the manifest and the Voice Search runs correctly.

    Thanks again Steve, for the info on USB debugging on the device. Very handy.

    0 讨论(0)
  • 2021-01-13 20:54

    You can also use android:launchMode="singleTask"

    It works fine with VS.

    0 讨论(0)
提交回复
热议问题