如何让Android模拟器支持语音识别 [英] How can you make the android emulator support speech recognition
问题描述
我写它使用Android的语音识别应用程序。但是我在模拟器上运行良好的应用程序犯规 - 运行在手机本身不过细
I am writing an app which uses android's speech recognition. However my app doesnt run well on the emulator - runs fine on the mobile itself however.
在模拟器中我经历的logcat得到一个红色的错误信息,说:
On the emulator I get a red error message through logcat which says:
20 05 - 06:19:38.527:ERROR / SpeechRecognizer(1745年):无选择的语音识别服务
05-06 20:19:38.527: ERROR/SpeechRecognizer(1745): no selected voice recognition service
是否有人知道如何使一个模拟器,支持语音识别服务?
Does anybody know how to enable an emulator to support speech recognition services?
干杯,
推荐答案
在你的模拟器的形象,可以在安装谷歌语音搜索在语音转化为文字。该应用程序是在市场上的<一个href=\"https://market.android.com/details?id=com.google.android.voicesearch&feature=search_result\" rel=\"nofollow\">https://market.android.com/details?id=com.google.android.voicesearch&feature=search_result.我觉得这是添加识别意图的唯一途径。识别是不是基本的Android的一部分,它被认为是一个附加组件附带谷歌语音搜索,并包括在一些手机。
In your emulator image, can you install Google Voice Search as in Converting speech to text. The app is in the marketplace at https://market.android.com/details?id=com.google.android.voicesearch&feature=search_result. I think this is the only way to add the Recognizer Intent. Recognizer is not part of the base Android, it is considered an additional component that ships with Google Voice Search and is included in some phones.
但是,人们仍然报告的问题,并建议使用真实设备而不是模拟器。看到
<一href=\"http://stackoverflow.com/questions/5472370/why-is-it-impossible-to-use-the-speech-recorder-on-the-android-emulator\">Why是不可能使用语音记录器在Android模拟器?
But, people have still reported problems and suggest using a real device instead of the emulator. See Why is it impossible to use the Speech Recorder on the Android emulator?
这篇关于如何让Android模拟器支持语音识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!