实例介绍
方便学习安卓开发百度语音识别与语音合成的官方实例,使用的时候一定要注意要把lib中的所有文件放到新建的工程中,把新建工程中的lib删掉,还有就是语音识别和语音合成中的lib中的文件有重复的,把重复的删掉就行。
【实例截图】
【核心代码】
归档
├── __MACOSX
│ ├── 鐧惧害璇煶璇嗗埆
│ │ └── Baidu-Voice-SDK-Android-1.4.1
│ │ ├── doc
│ │ │ ├── com
│ │ │ │ └── baidu
│ │ │ │ └── voicerecognition
│ │ │ │ ├── android
│ │ │ │ │ ├── class-use
│ │ │ │ │ └── ui
│ │ │ │ │ └── class-use
│ │ │ │ └── demo
│ │ │ │ └── class-use
│ │ │ ├── index-files
│ │ │ └── resources
│ │ ├── libs
│ │ │ ├── armeabi
│ │ │ ├── mips
│ │ │ └── x86
│ │ ├── res
│ │ │ └── raw
│ │ └── VoiceRecognitionDemo
│ │ ├── assets
│ │ ├── bin
│ │ ├── ci
│ │ ├── libs
│ │ │ ├── armeabi
│ │ │ └── x86
│ │ ├── res
│ │ │ ├── drawable
│ │ │ ├── drawable-hdpi
│ │ │ ├── layout
│ │ │ ├── raw
│ │ │ ├── values
│ │ │ └── xml
│ │ └── src
│ │ └── com
│ │ └── baidu
│ │ └── android
│ │ └── voicedemo
│ └── 鐧惧害璇煶鍚堟垚
│ ├── BaiduSpeechSynthesizerSample
│ │ ├── bin
│ │ │ ├── classes
│ │ │ │ └── com
│ │ │ │ └── baidu
│ │ │ │ └── tts
│ │ │ │ └── sample
│ │ │ ├── dexedLibs
│ │ │ └── res
│ │ │ └── crunch
│ │ │ ├── drawable-hdpi
│ │ │ ├── drawable-mdpi
│ │ │ ├── drawable-xhdpi
│ │ │ └── drawable-xxhdpi
│ │ ├── gen
│ │ │ └── com
│ │ │ └── baidu
│ │ │ └── tts
│ │ │ └── sample
│ │ ├── libs
│ │ │ ├── armeabi
│ │ │ └── armeabi-v7a
│ │ ├── res
│ │ │ ├── drawable-hdpi
│ │ │ ├── drawable-mdpi
│ │ │ ├── drawable-xhdpi
│ │ │ ├── drawable-xxhdpi
│ │ │ ├── layout
│ │ │ ├── values
│ │ │ ├── values-sw600dp
│ │ │ ├── values-sw720dp-land
│ │ │ ├── values-v11
│ │ │ └── values-v14
│ │ └── src
│ │ └── com
│ │ └── baidu
│ │ └── tts
│ │ └── sample
│ ├── docs
│ │ └── javadoc
│ │ └── com
│ │ └── baidu
│ │ └── speechsynthesizer
│ │ ├── class-use
│ │ └── publicutility
│ │ └── class-use
│ └── libs
│ ├── armeabi
│ └── armeabi-v7a
├── 鐧惧害璇煶璇嗗埆
│ └── Baidu-Voice-SDK-Android-1.4.1
│ ├── doc
│ │ ├── allclasses-frame.html
│ │ ├── allclasses-noframe.html
│ │ ├── com
│ │ │ └── baidu
│ │ │ └── voicerecognition
│ │ │ ├── android
│ │ │ │ ├── BufferThreadRecorder.html
│ │ │ │ ├── Candidate.html
│ │ │ │ ├── class-use
│ │ │ │ │ ├── BufferThreadRecorder.html
│ │ │ │ │ ├── Candidate.html
│ │ │ │ │ ├── Config.html
│ │ │ │ │ ├── CsvWriter.html
│ │ │ │ │ ├── ExternalRecorder.html
│ │ │ │ │ ├── LocationSyncManager.html
│ │ │ │ │ ├── MockPcmRecord.html
│ │ │ │ │ ├── NoProGuard.html
│ │ │ │ │ ├── ResourceParameters.html
│ │ │ │ │ ├── ThreadRecorder.html
│ │ │ │ │ ├── TokenManager.html
│ │ │ │ │ ├── Utility.html
│ │ │ │ │ ├── VoiceDataStorage.html
│ │ │ │ │ ├── VoiceRecognitionClient.html
│ │ │ │ │ ├── VoiceRecognitionClient.VoiceClientStatusChangeListener.html
│ │ │ │ │ └── VoiceRecognitionConfig.html
│ │ │ │ ├── Config.html
│ │ │ │ ├── CsvWriter.html
│ │ │ │ ├── ExternalRecorder.html
│ │ │ │ ├── LocationSyncManager.html
│ │ │ │ ├── MockPcmRecord.html
│ │ │ │ ├── NoProGuard.html
│ │ │ │ ├── package-frame.html
│ │ │ │ ├── package-summary.html
│ │ │ │ ├── package-tree.html
│ │ │ │ ├── package-use.html
│ │ │ │ ├── ResourceParameters.html
│ │ │ │ ├── ThreadRecorder.html
│ │ │ │ ├── TokenManager.html
│ │ │ │ ├── ui
│ │ │ │ │ ├── BaiduASRDialog.html
│ │ │ │ │ ├── BaiduASRDialogTheme.html
│ │ │ │ │ ├── BaiduASRDigitalDialog.html
│ │ │ │ │ ├── class-use
│ │ │ │ │ │ ├── BaiduASRDialog.html
│ │ │ │ │ │ ├── BaiduASRDialogTheme.html
│ │ │ │ │ │ ├── BaiduASRDigitalDialog.html
│ │ │ │ │ │ ├── DialogRecognitionListener.html
│ │ │ │ │ │ ├── SDKAnimationView.html
│ │ │ │ │ │ ├── SpeechDrawableCreator.html
│ │ │ │ │ │ └── SpeechResManager.html
│ │ │ │ │ ├── DialogRecognitionListener.html
│ │ │ │ │ ├── package-frame.html
│ │ │ │ │ ├── package-summary.html
│ │ │ │ │ ├── package-tree.html
│ │ │ │ │ ├── package-use.html
│ │ │ │ │ ├── SDKAnimationView.html
│ │ │ │ │ ├── SpeechDrawableCreator.html
│ │ │ │ │ └── SpeechResManager.html
│ │ │ │ ├── Utility.html
│ │ │ │ ├── VoiceDataStorage.html
│ │ │ │ ├── VoiceRecognitionClient.html
│ │ │ │ ├── VoiceRecognitionClient.VoiceClientStatusChangeListener.html
│ │ │ │ └── VoiceRecognitionConfig.html
│ │ │ └── demo
│ │ │ ├── AutoTestActivity.html
│ │ │ ├── AutoTestConstant.html
│ │ │ ├── AutoTestContract.FileNameInHistoryEntry.html
│ │ │ ├── AutoTestContract.html
│ │ │ ├── AutoTestContract.IpInHistoryEntry.html
│ │ │ ├── AutoTestDbHelper.html
│ │ │ ├── AutoTestPreferences.html
│ │ │ ├── BuildConfig.html
│ │ │ ├── class-use
│ │ │ │ ├── AutoTestActivity.html
│ │ │ │ ├── AutoTestConstant.html
│ │ │ │ ├── AutoTestContract.FileNameInHistoryEntry.html
│ │ │ │ ├── AutoTestContract.html
│ │ │ │ ├── AutoTestContract.IpInHistoryEntry.html
│ │ │ │ ├── AutoTestDbHelper.html
│ │ │ │ ├── AutoTestPreferences.html
│ │ │ │ ├── BuildConfig.html
│ │ │ │ ├── CsvWriter.html
│ │ │ │ ├── FileNameDbHelper.html
│ │ │ │ ├── FileUpLoader.html
│ │ │ │ ├── HorizontalListAdapter.html
│ │ │ │ ├── HtmlAndJSCode.html
│ │ │ │ ├── R.array.html
│ │ │ │ ├── R.attr.html
│ │ │ │ ├── R.dimen.html
│ │ │ │ ├── R.drawable.html
│ │ │ │ ├── ResultServerHandler.html
│ │ │ │ ├── R.html
│ │ │ │ ├── R.id.html
│ │ │ │ ├── R.layout.html
│ │ │ │ ├── R.menu.html
│ │ │ │ ├── R.raw.html
│ │ │ │ ├── R.string.html
│ │ │ │ ├── R.xml.html
│ │ │ │ ├── SuppressLint.html
│ │ │ │ ├── ToolsOfAutoTest.html
│ │ │ │ ├── VoiceRecognitionActivity.html
│ │ │ │ ├── VoiceRecordActivity.html
│ │ │ │ ├── VoiceSearchActivity.html
│ │ │ │ └── VTLNActivity.html
│ │ │ ├── CsvWriter.html
│ │ │ ├── FileNameDbHelper.html
│ │ │ ├── FileUpLoader.html
│ │ │ ├── HorizontalListAdapter.html
│ │ │ ├── HtmlAndJSCode.html
│ │ │ ├── package-frame.html
│ │ │ ├── package-summary.html
│ │ │ ├── package-tree.html
│ │ │ ├── package-use.html
│ │ │ ├── R.array.html
│ │ │ ├── R.attr.html
│ │ │ ├── R.dimen.html
│ │ │ ├── R.drawable.html
│ │ │ ├── ResultServerHandler.html
│ │ │ ├── R.html
│ │ │ ├── R.id.html
│ │ │ ├── R.layout.html
│ │ │ ├── R.menu.html
│ │ │ ├── R.raw.html
│ │ │ ├── R.string.html
│ │ │ ├── R.xml.html
│ │ │ ├── SuppressLint.html
│ │ │ ├── ToolsOfAutoTest.html
│ │ │ ├── VoiceRecognitionActivity.html
│ │ │ ├── VoiceRecordActivity.html
│ │ │ ├── VoiceSearchActivity.html
│ │ │ └── VTLNActivity.html
│ │ ├── constant-values.html
│ │ ├── deprecated-list.html
│ │ ├── help-doc.html
│ │ ├── index-files
│ │ │ ├── index-10.html
│ │ │ ├── index-11.html
│ │ │ ├── index-12.html
│ │ │ ├── index-13.html
│ │ │ ├── index-14.html
│ │ │ ├── index-15.html
│ │ │ ├── index-16.html
│ │ │ ├── index-17.html
│ │ │ ├── index-18.html
│ │ │ ├── index-19.html
│ │ │ ├── index-1.html
│ │ │ ├── index-20.html
│ │ │ ├── index-21.html
│ │ │ ├── index-22.html
│ │ │ ├── index-23.html
│ │ │ ├── index-2.html
│ │ │ ├── index-3.html
│ │ │ ├── index-4.html
│ │ │ ├── index-5.html
│ │ │ ├── index-6.html
│ │ │ ├── index-7.html
│ │ │ ├── index-8.html
│ │ │ └── index-9.html
│ │ ├── index.html
│ │ ├── overview-frame.html
│ │ ├── overview-summary.html
│ │ ├── overview-tree.html
│ │ ├── package-list
│ │ ├── resources
│ │ │ ├── background.gif
│ │ │ ├── tab.gif
│ │ │ ├── titlebar_end.gif
│ │ │ └── titlebar.gif
│ │ ├── serialized-form.html
│ │ └── stylesheet.css
│ ├── libs
│ │ ├── armeabi
│ │ │ └── libBDVoiceRecognitionClient_V1.so
│ │ ├── Baidu-SpeechRecognitionUI-SDK-Android-1.4.1.jar
│ │ ├── galaxy.jar
│ │ ├── mips
│ │ │ └── libBDVoiceRecognitionClient_V1.so
│ │ ├── VoiceRecognition-1.4.1.jar
│ │ └── x86
│ │ └── libBDVoiceRecognitionClient_V1.so
│ ├── res
│ │ └── raw
│ │ ├── bdspeech_recognition_cancel.mp3
│ │ ├── bdspeech_recognition_error.mp3
│ │ ├── bdspeech_recognition_start.mp3
│ │ ├── bdspeech_recognition_success.mp3
│ │ └── bdspeech_speech_end.mp3
│ ├── VoiceRecognitionDemo
│ │ ├── AndroidManifest.xml
│ │ ├── assets
│ │ │ └── 8_8.10.39.54.pcm
│ │ ├── build.properties
│ │ ├── build.xml
│ │ ├── ci
│ │ │ └── checkStyle_config_bdmobile.xml
│ │ ├── libs
│ │ │ ├── android-support-v4.jar
│ │ │ ├── armeabi
│ │ │ │ └── libBDVoiceRecognitionClient_V1.so
│ │ │ ├── VoiceRecognition.jar
│ │ │ └── x86
│ │ │ └── libBDVoiceRecognitionClient_V1.so
│ │ ├── proguard-project.txt
│ │ ├── project.properties
│ │ ├── res
│ │ │ ├── drawable
│ │ │ │ ├── mikegray.png
│ │ │ │ └── mikewhite.png
│ │ │ ├── drawable-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── layout
│ │ │ │ ├── api_demo_activity.xml
│ │ │ │ ├── control_panel_fragment.xml
│ │ │ │ ├── demo.xml
│ │ │ │ ├── nlu_demo_activity.xml
│ │ │ │ └── setting.xml
│ │ │ ├── raw
│ │ │ │ ├── bdspeech_recognition_cancel.mp3
│ │ │ │ ├── bdspeech_recognition_error.mp3
│ │ │ │ ├── bdspeech_recognition_start.mp3
│ │ │ │ ├── bdspeech_recognition_success.mp3
│ │ │ │ └── bdspeech_speech_end.mp3
│ │ │ ├── values
│ │ │ │ └── strings.xml
│ │ │ └── xml
│ │ │ └── dialog_tips.xml
│ │ ├── src
│ │ │ └── com
│ │ │ └── baidu
│ │ │ └── android
│ │ │ └── voicedemo
│ │ │ ├── ApiDemoActivity.java
│ │ │ ├── CommandListFragment.java
│ │ │ ├── CommandsAdapter.java
│ │ │ ├── Config.java
│ │ │ ├── Constants.java
│ │ │ ├── ControlPanelFragment.java
│ │ │ ├── DemoListActivity.java
│ │ │ ├── DialogTipsDemoActivity.java
│ │ │ ├── ExternalAudioDemoActivity.java
│ │ │ ├── NLUDemoActivity.java
│ │ │ ├── SettingActivity.java
│ │ │ └── VoiceRecognitionDemoActivity.java
│ │ └── voiceassistantdev.keystore
│ ├── 鐧惧害璇煶璇嗗埆SDK Android鐗堝紑鍙戞墜鍐?pdf
│ └── 鐧惧害璇箟鐞嗚В寮€鏀惧钩鍙版剰鍥捐〃绀哄崗璁鏄庝功.pdf
└── 鐧惧害璇煶鍚堟垚
├── BaiduSpeechSynthesizerSample
│ ├── AndroidManifest.xml
│ ├── bin
│ │ ├── AndroidManifest.xml
│ │ ├── BaiduSpeechSynthesizerSample.apk
│ │ ├── classes
│ │ │ └── com
│ │ │ └── baidu
│ │ │ └── tts
│ │ │ └── sample
│ │ │ ├── BuildConfig.class
│ │ │ ├── HomeActivity$1.class
│ │ │ ├── HomeActivity$2.class
│ │ │ ├── HomeActivity.class
│ │ │ ├── R$attr.class
│ │ │ ├── R$dimen.class
│ │ │ ├── R$drawable.class
│ │ │ ├── R$id.class
│ │ │ ├── R$layout.class
│ │ │ ├── R$string.class
│ │ │ ├── R$style.class
│ │ │ └── R.class
│ │ ├── classes.dex
│ │ ├── dexedLibs
│ │ │ ├── android-support-v4-332a098dcc0dd1cfb2c73ad23172386f.jar
│ │ │ ├── com.baidu.speechsynthesizer_1.2.0-7269130e3452a3124c0d8470a0a4b46c.jar
│ │ │ ├── com.baidu.speechsynthesizer_1.2.1-bad1c71d6f21a1be1ce6e8bb2a452885.jar
│ │ │ └── galaxy_lite-56430400fe0a54d694c2af9af25d78d1.jar
│ │ ├── jarlist.cache
│ │ ├── res
│ │ │ └── crunch
│ │ │ ├── drawable-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ └── drawable-xxhdpi
│ │ │ └── ic_launcher.png
│ │ └── resources.ap_
│ ├── gen
│ │ └── com
│ │ └── baidu
│ │ └── tts
│ │ └── sample
│ │ ├── BuildConfig.java
│ │ └── R.java
│ ├── ic_launcher-web.png
│ ├── libs
│ │ ├── armeabi
│ │ │ └── libBDTTSDecoder_V1.so
│ │ ├── armeabi-v7a
│ │ │ └── libBDTTSDecoder_V1.so
│ │ ├── com.baidu.speechsynthesizer_1.1.2.jar
│ │ └── galaxy_lite.jar
│ ├── proguard-project.txt
│ ├── project.properties
│ ├── res
│ │ ├── drawable-hdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ │ └── ic_launcher.png
│ │ ├── layout
│ │ │ └── activity_home.xml
│ │ ├── values
│ │ │ ├── dimens.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ ├── values-sw600dp
│ │ │ └── dimens.xml
│ │ ├── values-sw720dp-land
│ │ │ └── dimens.xml
│ │ ├── values-v11
│ │ │ └── styles.xml
│ │ └── values-v14
│ │ └── styles.xml
│ └── src
│ └── com
│ └── baidu
│ └── tts
│ └── sample
│ └── HomeActivity.java
├── Baidu_TTS_Demo_1.1.2.apk
├── docs
│ └── javadoc
│ ├── allclasses-frame.html
│ ├── allclasses-noframe.html
│ ├── com
│ │ └── baidu
│ │ └── speechsynthesizer
│ │ ├── class-use
│ │ │ ├── SpeechSynthesizer.html
│ │ │ └── SpeechSynthesizerListener.html
│ │ ├── package-frame.html
│ │ ├── package-summary.html
│ │ ├── package-tree.html
│ │ ├── package-use.html
│ │ ├── publicutility
│ │ │ ├── class-use
│ │ │ │ ├── SpeechError.html
│ │ │ │ ├── SpeechLogger.html
│ │ │ │ ├── SpeechPlayer.html
│ │ │ │ └── SpeechPlayerListener.html
│ │ │ ├── package-frame.html
│ │ │ ├── package-summary.html
│ │ │ ├── package-tree.html
│ │ │ ├── package-use.html
│ │ │ ├── SpeechError.html
│ │ │ ├── SpeechLogger.html
│ │ │ ├── SpeechPlayer.html
│ │ │ └── SpeechPlayerListener.html
│ │ ├── SpeechSynthesizer.html
│ │ └── SpeechSynthesizerListener.html
│ ├── constant-values.html
│ ├── deprecated-list.html
│ ├── help-doc.html
│ ├── index-all.html
│ ├── index.html
│ ├── overview-frame.html
│ ├── overview-summary.html
│ ├── overview-tree.html
│ ├── package-list
│ ├── script.js
│ └── stylesheet.css
└── libs
├── armeabi
│ └── libBDTTSDecoder_V1.so
├── armeabi-v7a
│ └── libBDTTSDecoder_V1.so
├── com.baidu.speechsynthesizer_1.1.2.jar
└── galaxy_lite.jar
178 directories, 297 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论