SpeechRecognizer causes ANR… I need help with Android speech API
EDIT : I should have mentioned this already, but I'm running this code in a service. The entire app is turned on/off by a widget button and has no activity. Update : I tried attaching the SDK sources to the project so I could get a more precise idea of where the failure was occurring, but from the looks of it , only public APIs are included, which seems to make them a lot less useful... can anyone suggest at least a debugging approach for solving this issue? I'm kind of stuck. I'm trying to use Android's speech recognition package to record user speech and translate it to text. Unfortunately,