voice

Google voice PHP OAuth 2.0

匿名 (未验证) 提交于 2019-12-03 08:36:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I once used a PHP Class Library to connect to Google Voice to send SMS Text Messages. The call would work something like this: $gv = new GoogleVoice("GmailAccount", "GmailPassword"); $gv->sms("PhoneNumber", "TextMsg"); It worked flawlessly until recently, as of 4/20/2015, Google stopped supporting old methods of logging in to Google account. So my script stopped working giving 500 error. Google says you have to use OAuth 2.0 to authenticate however I haven't found any examples online on how to accomplish this with Google Voice. The code is

How show “Voice Input and Output” settings page from application?

匿名 (未验证) 提交于 2019-12-03 07:50:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: To help the user choose the settings I want from my application to open the Voice Input and Output settings page. I can just open the settings (Settings.ACTION_SETTINGS), I can open the various pages out there (Settings.ACTION_XXXX_SETTINGS) - but it can not find how to do it for Voice Input and Output page. Any idea? P.S. I try check source Settings.apk, but no one not using VoiceInputOutputSettings.java 回答1: The following is found in Android 2.3.3 source code git: 501 <activity android:name="VoiceInputOutputSettings" 502 android:label="

How to configure OpenSL to record voice call

匿名 (未验证) 提交于 2019-12-03 07:36:14
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm working on a call recorder app using MediaRecorder VOICE_CALL audio source, In some marshmallow devices it's crashing, then I changed source to MIC here incoming voice is not getting recorded. Due to this java limitation now I'm working on native android code to record voice call. I'm managed to record the audio using native-audio recorder for call recorder. Problem is in native code also it's recording one side voice only,incoming voice is not getting recorded. Then I tried the voice communication preset configuration, its not recording

How to record voice in a browser?

淺唱寂寞╮ 提交于 2019-12-03 07:19:36
I need users to record their voice on a browser and then automatically upload the resulting mp3 to a webserver. I am thinking the user presses a big fat start record/stop record button to do this. This would then save a file on the users hard disk. Then it would be efficiently compressed and automatically ftp'd up to a website. Is it possible to do this using ActiveX or perhaps Java? Or are there libraries available that help? The application is for users who can install software if need be so it will be possible to install exe's or whatever. Any suggestions are most appreciated. The ideal

Voice call recording Application in android

匿名 (未验证) 提交于 2019-12-03 03:03:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I like to make an application for recording voice call.Is it possible? I expecting some proper guiding from well experienced people in android. i have seen android.media.MediaRecorder class in android. Is that class i need to use for this? Thanks and Regards Parvathi Kamalone. 回答1: Developers do not have access to the in-call audio stream, sorry. The only way this sort of works is if the device is in speakerphone mode. 文章来源: Voice call recording Application in android

Voice command keyword listener in Android

匿名 (未验证) 提交于 2019-12-03 02:49:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I would like to add voice command listener in my application.Service should listen to predefined keyword and and if keyword is spoken it should call some method. Voice command recognition (activation command) should work without send request to Google voice servers. How can I do it on Android? Thanks for posting some useful resources. 回答1: You can use Pocketsphinx to accomplish this task. Check Pocketsphinx android demo for example how to listen for keyword efficiently in offline and react on the specific commands like a key phrase "oh

Way to nest multiple voice triggers when launching an app with GDK

匿名 (未验证) 提交于 2019-12-03 02:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is there a way to nest voice triggers when launching an app on Google Glass using the GDK? For example instead of just saying "ok, glass" -> "What's its power level?" I'd like to have the app present an option. For example "ok, glass" -> "What's its power level?" -> "Over 9000" OR "Under 9000". Any help would be great! 回答1: If you have multiple activities/services installed on Glass that have the same voice trigger intent filter, all of their names (based on the android:label attribute of the <activity> or <service> tag in AndroidManifest

Android voice recognition through Bluetooth

匿名 (未验证) 提交于 2019-12-03 02:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using voice recognition in my activity and I just realized that if I have a headset connected, the recognizer still only listens through the phone mic. Is there any way to make it listen through the headset? I did notice this: http://developer.android.com/reference/android/bluetooth/BluetoothHeadset.html but most of the methods are not available until HoneyComb ... Thanks. 回答1: Basically, this can only be done using the BluetoothHeadset class... In my voice recognition activity, I call this method first: startVoiceRecognition() then

Voice Recognition as a background service

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to implement an activity as a service? My activity is a voice recognition activity. I want to have the activity running in the background of the app constantly checking for voice and when the user says a command it will recognize it and then perform the action. My question is...is it possible to do this and if so how can the background service notify the current activity or application? There was a previous post on this which had no clear answer...Thanks for any input or help. Here is the voice activity...taken from another

Android Wear Custom Voice Actions

匿名 (未验证) 提交于 2019-12-03 02:00:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm making an app that will work with Android Wear, And I wanted to implement a command into Google's "Ok Google" option. I saw this page: http://developer.android.com/training/wearables/apps/voice.html But it's related only to apps that include Activities in the Android Wear. I wanted to ask: Can I add custom commands? I mean, those who does not start with the word "Start"? Can I add commands that will do another thing than just opening the app? Like running a method? If it's not the place to ask this, can you give me an email/link to