11

如何在 Android 模拟器上获得音频输入?我正在使用 2.2 SDK,并在 Ubuntu 10.10 上进行仿真。

我在模拟器上将 hw.audioinput 属性设置为 yes,但是当我在模拟器上运行语音识别 API 演示应用程序时收到消息“识别器不存在”。当然,在我的手机上,它运行良好。

我正在尝试使用此处提到的 SDK 中的语音输入内容:http: //developer.android.com/resources/articles/speech-input.html。他们没有提到让它在模拟器上工作的事情。

我在论坛上看到过关于这个的帖子,几乎没有确定的解决方案或成功。你知道它如何与论坛。这就是我将这个问题发布到 StackOverflow 的原因;希望我们能得到一个明确的答案!

4

2 回答 2

3

Voice Recognition is handled with an application. The emulator doesn't come with this .apk pre-installed. If you can get Voice.apk from your device and install it in your emulator you might then have it. Check out this post also:

how voice recognition in android works?

于 2010-10-29T19:54:52.747 回答
0

您可能需要虚拟 SD 卡? 请参阅此处的讨论。

于 2010-10-29T19:51:28.663 回答