可以在Epson bt 300中进行语音识别吗? E / SpeechRecognizer:没有选定的语音识别服务

时间:2018-02-20 17:52:04

标签: android speech-to-text voice-recognition epson

我正在尝试基于语音识别在epson bt 300中开发一个模块。

我实现了类:RecognitionListener,这是我的代码:

public class VoiceRecognitionActivity extends AppCompatActivity implements
    RecognitionListener {

private static final int REQUEST_RECORD_PERMISSION = 1000;
private TextView returnedText;
private ToggleButton toggleButton;
private ProgressBar progressBar;
private SpeechRecognizer speech = null;
private Intent recognizerIntent;
private String LOG_TAG = "VoiceRecognitionActivity";

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.voice_recognition_activity);
    speech = SpeechRecognizer.createSpeechRecognizer(this);

    Log.i(LOG_TAG, "isRecognitionAvailable: " + SpeechRecognizer.isRecognitionAvailable(this));

结果如下:

  

E / SpeechRecognizer:没有选定的语音识别服务

有谁知道动机?语音识别能否在epson bt 300中实现?

目前的版本是:Android 5.1

0 个答案:

没有答案