android - Speech recognition offline mode does not work in my app but works in other apps -


i'm developing application use google speech recognition , i'm installing english packages , uk , when run app can't use offline feature , in other apps google chrome it's works charm offline mode , don't know missed , configuration or in code .

this code :

intent intent = new intent(recognizerintent.action_recognize_speech);      intent.putextra(recognizerintent.extra_language_model,             recognizerintent.language_model_free_form);      intent.putextra(recognizerintent.extra_language, "en_uk");     intent.putextra(recognizerintent.extra_prompt,             getstring(r.string.speech_prompt));     try {         startactivityforresult(intent, req_code_speech_input);     } catch (activitynotfoundexception a) {         toast.maketext(getapplicationcontext(), "speach not supported",                 toast.length_short).show();     } 

and capture app says touch mic try speaking again

enter image description here

i've been having same issue , found bug google app update's, have go settings > apps > google > remove updates , download language packages again , that's all

i found here


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -