Android 4.1.2를 사용하여 앱을 개발했으며 텍스트에 대한 연설은 잘 작동하지만 Google Glass에서 시도했을 때 작동하지 않습니다 (예외가 발견되지 않음). 이 코드Google Glass의 텍스트에 음성을 어떻게 설치 하시겠습니까?
Intent intent = new Intent(
RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, "en-US");
try {
startActivityForResult(intent, requestCode);
} catch (ActivityNotFoundException a) {
Toast t = Toast.makeText(getApplicationContext(),
"Opps! Your device doesn't support Speech to Text",
Toast.LENGTH_SHORT);
}
을 텍스트로 내 음성이다 나는 APK 수동으로 음성 합성을 설치하려고하지만 시작하려고 할 때 음성 합성 응용 프로그램은 추락했다. 음성 신시사이저를 설치하는 방법이 있습니까? 아니면 Google Glass에서 음성 텍스트가 작동하도록하는 임시 해결책 코드가 있습니까?
를 제거하려면이 도움이 되나요 : http://stackoverflow.com/questions/17414251/using-android-speech-recognition-apis-from-google-glass – Subby
우수함, 그것은 Voicesearch.apks의 이전 버전이 아닌 ICS VoiceSearch.apk와 함께 작동했습니다. –