Voice Recognition Connection Error

前端 未结 2 1225
旧巷少年郎
旧巷少年郎 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.

提交回复
热议问题