Since quite a while (i think after the the OTA update to Froyo (2.2)), my Voice Search from the keyboard stopped working.
A Voice Search from Google Search, for example, still works fine without problems. But when clicking on the keyboard's microphone button to speak a text that needs entering in a text-field, a error dialog is shown with 'Server Error'. I hooked up my Nexus One to ddms, and the log produces this text when the Server Error occurrs: 10-01 12:47:30.314: INFO/RecognitionController(20444): startRecognition(#Intent;action=android.speech.action.RECOGNIZE_SPEECH;component=com.google.android.voicesearch/.RecognitionService;l.android.speech.extras.SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS=1000;S.calling_package=VoiceIME;S.android.speech.extra.LANGUAGE_MODEL=;i.android.speech.extra.MAX_RESULTS=1;end) 10-01 12:47:30.314: INFO/RecognitionController(20444): State change: PAUSED -> STARTING 10-01 12:47:30.314: INFO/AudioHardwareQSD(17784): Routing audio to Speakerphone 10-01 12:47:30.314: DEBUG/AudioHardwareQSD(17784): Switching audio device to 10-01 12:47:30.314: DEBUG/AudioHardwareQSD(17784): Speakerphone 10-01 12:47:30.314: INFO/AudioHardwareQSD(17784): AudioHardware PCM record is going to standby. 10-01 12:47:30.334: INFO/AudioHardwareQSD(17784): Routing audio to Speakerphone 10-01 12:47:30.334: DEBUG/AudioHardwareQSD(17784): Switching audio device to 10-01 12:47:30.334: DEBUG/AudioHardwareQSD(17784): Speakerphone 10-01 12:47:30.334: INFO/AudioHardwareQSD(17784): AudioHardware PCM record is going to standby. 10-01 12:47:30.334: INFO/AudioService(85): AudioFocus requestAudioFocus() from android.media.audiomana...@449cf188 10-01 12:47:30.334: INFO/AudioHardwareQSD(17784): Routing audio to Speakerphone 10-01 12:47:30.344: INFO/AudioHardwareQSD(17784): do input routing device 40000 10-01 12:47:30.344: INFO/AudioHardwareQSD(17784): Routing audio to Speakerphone 10-01 12:47:30.354: INFO/RecognitionController(20444): State change: STARTING -> RECOGNIZING 10-01 12:47:30.354: INFO/ServerConnectorImpl(20444): Starting TCP session, url=http://www.google.com/m/voice-search 10-01 12:47:30.534: DEBUG/AudioHardwareQSD(17784): Switching audio device to 10-01 12:47:30.534: DEBUG/AudioHardwareQSD(17784): Speakerphone 10-01 12:47:30.935: INFO/RecognitionController(20444): onReadyForSpeech, noise level:51.371593, snr:-1.3440453 10-01 12:47:31.835: INFO/RecognitionController(20444): onBeginningOfSpeech 10-01 12:47:32.544: DEBUG/ServerConnectorImpl(20444): Created session 50ff140454b8a22d1c1f4a772ef56e63 10-01 12:47:32.544: INFO/ServerConnectorImpl(20444): Creating TCP connection to 74.125.47.126:19294 10-01 12:47:32.754: INFO/ServerConnectorImpl(20444): startRecognize RecognitionParameters{session=50ff140454b8a22d1c1f4a772ef56e63,request=1} 10-01 12:47:33.364: INFO/RecognitionController(20444): onEndOfSpeech 10-01 12:47:33.364: INFO/AudioService(85): AudioFocus abandonAudioFocus() from android.media.audiomana...@449cf188 10-01 12:47:33.414: DEBUG/dalvikvm(156): GC_EXTERNAL_ALLOC freed 671 objects / 59904 bytes in 50ms 10-01 12:47:33.424: INFO/AudioHardwareQSD(17784): Routing audio to Speakerphone 10-01 12:47:33.554: DEBUG/AudioHardwareQSD(17784): Switching audio device to 10-01 12:47:33.554: DEBUG/AudioHardwareQSD(17784): Speakerphone 10-01 12:47:33.564: INFO/AudioHardwareQSD(17784): AudioHardware PCM record is going to standby. 10-01 12:47:33.564: INFO/AudioHardwareQSD(17784): Routing audio to Speakerphone 10-01 12:47:33.564: INFO/AudioHardwareQSD(17784): Routing audio to Speakerphone 10-01 12:47:33.564: DEBUG/AudioHardwareQSD(17784): Switching audio device to 10-01 12:47:33.564: DEBUG/AudioHardwareQSD(17784): Speakerphone 10-01 12:47:33.564: INFO/AudioHardwareQSD(17784): AudioHardware PCM record is going to standby. 10-01 12:47:38.434: DEBUG/dalvikvm(27355): GC_EXPLICIT freed 183 objects / 12216 bytes in 86ms 10-01 12:47:43.014: INFO/RecognitionController(20444): State change: RECOGNIZING -> RECOGNIZED 10-01 12:47:43.014: INFO/RecognitionController(20444): Final state: RECOGNIZED 10-01 12:47:43.014: WARN/RecognitionController(20444): server reported error status:5 10-01 12:47:43.014: ERROR/RecognitionController(20444): ERROR_SERVER 10-01 12:47:43.014: INFO/ServerConnectorImpl(20444): ClientReport{session_id=50ff140454b8a22d1c1f4a772ef56e63,request_id=1,application_id=intent- speech- api,client_perceived_request_status=1,request_ack_latency_ms=161,endpoint_trigger_type=3,} 10-01 12:47:43.024: INFO/AudioService(85): AudioFocus abandonAudioFocus() from android.media.audiomana...@449cf188 10-01 12:47:43.034: INFO/VoiceInput(156): error 4 10-01 12:47:43.704: INFO/ClientReportSender(20444): Sending 1 client reports over HTTP 10-01 12:47:43.704: INFO/RecognitionController(20444): State change: RECOGNIZED -> PAUSED 10-01 12:47:43.704: INFO/AudioService(85): AudioFocus abandonAudioFocus() from android.media.audiomana...@449cf188 Is there a way to make voice-search work again (without a factory reset :-))? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en