android things:Use Speech to text in Raspberry Pi 3 using android things
问题 im using below code for speech to text for Raspberry Pi3 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-US"); try { startActivityForResult(intent, RESULT_SPEECH); } catch (ActivityNotFoundException a) { a.printStackTrace(); } But code not works it gives exception as device does not support Speech to text Is there any way