안드로이드 개발 질문/답변
(글 수 45,052)
일본어를 하니깐 그냥 한국어 또는 영어로 인식해 버리네요...... t
제가 여기서 언어 설정해주는 부분 잘못한건가요? ㅜ.ㅜ;;;
Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
//언어 설정?!
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.JAPAN.toString());
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speech recognition demo");
startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);
참고로 테스트 폰은 옵티머스Q 1.6 버전 입니다 ㅠ.ㅠ;;;;;