Speech Recognizer Missing

I try this code

PackageManager pm = getPackageManager(); List activities = pm.queryIntentActivities( new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0); if (activities.size() != 0) { speakButton.setOnClickListener(this); } else { speakButton.setEnabled(false); speakButton.setText("Recognizer not present"); } 

But as a result of this, Recognizer should not add any software to activate this service?

+4
source share
1 answer

I answer my question. I installed "voice search" on a mobile phone with this code, and this software requires a connection to work.

+2
source

Source: https://habr.com/ru/post/1345680/


All Articles