在这篇文章中,我们将带领您了解如何在Android上使用语音搜索和VoiceRecognition?的全貌,包括安卓手机如何语音搜索的相关情况。同时,我们还将为您介绍有关AndroidICS上的InA
在这篇文章中,我们将带领您了解如何在Android上使用语音搜索和VoiceRecognition?的全貌,包括安卓手机如何语音搜索的相关情况。同时,我们还将为您介绍有关Android ICS上的InApp语音触发控制和离线SpeechRecognition、Android Studio 将物理设备识别为空? - Android Studio recognizes physical Device as Null?、android – startVoiceRecognition与蓝牙耳机不工作、android – Voice Recognizer不存在的知识,以帮助您更好地理解这个主题。
本文目录一览:- 如何在Android上使用语音搜索和VoiceRecognition?(安卓手机如何语音搜索)
- Android ICS上的InApp语音触发控制和离线SpeechRecognition
- Android Studio 将物理设备识别为空? - Android Studio recognizes physical Device as Null?
- android – startVoiceRecognition与蓝牙耳机不工作
- android – Voice Recognizer不存在
如何在Android上使用语音搜索和VoiceRecognition?(安卓手机如何语音搜索)
我不希望用户必须安装另一个其他应用程序然后返回我的应用程序来运行它.我希望从我的应用程序安装语音搜索,或者我想找到关于如何向我的应用程序添加语音搜索功能的教程.
我能做什么?
解决方法
看到这个链接:How to use the Recognizer intent
Android ICS上的InApp语音触发控制和离线SpeechRecognition
这个应用程序为我提供了由用户或系统(网络 – 事件)触发的事件驱动的不同视图.
为了用户的控制,我想实现语音识别,只需要识别数字或至少单个数字以及前后命令.重要的是它也可以脱机工作,它应该在应用程序运行时在后台工作,不应该覆盖用户界面.
相关工作:
SpeechRecognizer似乎只有使用jellybean的离线功能,(还没有找到在Android 4.0.4上使用它的方法).
在我看来,实现自定义IME和使用VoiceTyping是非常昂贵和肮脏的. (比如Utter!,顺便说一句.真的很棒!)
首次使用pocketsphinx的尝试尚未成功.
解决方法
这对于您想要实现的目标并不理想,因为依赖于非跨平台的封闭源应用程序将会在工作中抛出一个扳手….无论如何,一个简单的offline = true参数无处可去被看见,你最终将不得不强迫这种行为.我顺便提一下这个参数!
谷歌使用专用处理器核心来处理他们的唤醒短语,但它看起来像unlikely that the manufacturers intend to expose this functionality to anyone other than OEMs.
这留下了其他具有RESTful服务的替代识别提供商,例如iSpeech,AT&T和Nuance,但是如果采用这种方法,你将再次使用重要数据谋杀电池.更不用说Android平台上发生的音频冲突了.
最后,你最终得到了Sphinx.目前,我认为它是降低资源使用率的唯一可行解决方案,但它并没有解决音频冲突问题.我一直在努力让它在我的应用程序中运行很长一段时间,但我仍然遇到一些误报,这些误报阻止了我将它包括在生产中.
它可能是你唯一的选择,直到谷歌,处理器制造商和原始设备制造商研究如何提供这样的功能,没有设备上安装的每个应用程序都需要一个动作,这是不可避免的……
我不确定这个回复实际提供和回答,更多的是排除了一些!
祝好运
编辑:在可穿戴设备的环境中,此类产品可以访问专用内核 – 至少他们需要确保他们使用具有此类功能的处理器.从我与开发此类技术的公司的互动中,他们经常忽视这一点,或者不知道它的必要性.
Android Studio 将物理设备识别为空? - Android Studio recognizes physical Device as Null?
问题:
I''ve been developing an Android Application for Android
(SDK min version 14) and I have testing it normally with tablets such as Samsung Galaxy 2 and Nexus 7
. 我一直在开发 Android Application for Android
的 Android Application for Android
(SDK min 版本 14),我通常使用 Samsung Galaxy 2 and Nexus 7
等平板电脑进行测试。 However when I tried to run the application (by clicking run in AndroidStudio
), AS does not recognise the tablet information, which is shown in the picture below. 但是,当我尝试运行应用程序时(通过单击 AndroidStudio
运行),AS 无法识别平板电脑信息,如下图所示。
The interesting thing is that as shown in the picture above, AS is also detecting the device sdk as API 1
when it''s Android version is 4.2.2
The tablet is already set to accept " USB debugging
" in the developer options, I''have tried rebooting the tablet, and restarting AS, but still I get the same problem(everything is fine with nexus 7 and Samsung Galaxy 2
). 有趣的是,如上图所示,当 Android 版本为 4.2.2
时,AS 还将设备 sdk 检测为 API 1
平板电脑已经设置为在开发人员选项中接受 “ USB debugging
”,我试过了重新启动平板电脑,并重新启动 AS,但我仍然遇到同样的问题( nexus 7 and Samsung Galaxy 2
一切都很好)。
The tablet/device I''m working on is a "VeryKool" T742 我正在使用的平板电脑 / 设备是 “VeryKool” T742
Environment information:
OS: ubuntu
AndroidStudio version: 0.8.6
Tablet Android version:4.2.2
Tablet Kernel version: 3.4.5
App min SDK: 14
解决方案:
参考: https://stackoom.com/en/question/1jTO7android – startVoiceRecognition与蓝牙耳机不工作
BluetoothHeadsetServiceJni : Failed to start voice recognition,status: 6
当我调用startVoiceRecognition()方法时出错.我正在使用这个SO page的代码.
这个问题的可能原因只在某些设备中发生?有没有办法解决这个问题?
解决方法
android – Voice Recognizer不存在
我试试这段代码
PackageManager pm = getPackageManager();
List activities = pm.queryIntentActivities(
new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);
if (activities.size() != 0) {
speakButton.setonClickListener(this);
} else {
speakButton.setEnabled(false);
speakButton.setText("Recognizer not present");
}
但是它的识别器不存在的结果应该添加任何软件来执行此服务?
解决方法:
我回答我的问题.我使用此代码在移动设备中安装了“语音搜索”,此软件需要连接才能工作.
今天关于如何在Android上使用语音搜索和VoiceRecognition?和安卓手机如何语音搜索的介绍到此结束,谢谢您的阅读,有关Android ICS上的InApp语音触发控制和离线SpeechRecognition、Android Studio 将物理设备识别为空? - Android Studio recognizes physical Device as Null?、android – startVoiceRecognition与蓝牙耳机不工作、android – Voice Recognizer不存在等更多相关知识的信息可以在本站进行查询。
本文标签: