当前位置:网站首页>The development of speech recognition app with uni app is simple and fast.
The development of speech recognition app with uni app is simple and fast.
2022-07-05 13:35:00 【No Bug】
Because of the needs of the project , We have to develop a mobile phone app, For me who has never been in touch with mobile terminal development , I'm still afraid of it .
And then I found out uni-app, not have understood until then app Development can also be so simple .
uni-app Introduce ( be based on Vue Cross platform front-end framework )
The following is an introduction from the official website . Enter official website
uni-app
It's a use Vue.js (opens new window) Develop a framework for all front-end applications , Developers write a set of code , Can be posted to iOS、Android、Web( Response type )、 And all kinds of little programs ( WeChat / Alipay / Baidu / headlines / anonymous letter /QQ/ Well quickly / nailing / TaoBao )、 Fast application and other platforms .
DCloud
The company owns 900 Million developers 、 Millions of applications 、12 100 million mobile end monthly live users 、 Thousands of models uni-app plug-in unit 、70+ WeChat /qq Group . Ali applet tools are officially built-in uni-app( See (opens new window)), Tencent classroom is officially uni-app Record training courses ( See (opens new window)), Developers can choose .
uni-app
In hand , Don't worry about doing anything . Even if it doesn't span ends ,uni-app
It's also a better framework for small program development ( See (opens new window))、 better App Cross platform framework 、 More convenient H5 Development framework . No matter what kind of project leaders arrange , You can deliver fast , There's no need to change development thinking 、 No need to change development habits .
Why choose uni-app?
uni-app
In the number of developers 、 Case study 、 Trowel the span end 、 Expand flexibility 、 Performance experience 、 The surrounding Ecology 、 Learning cost 、 Development cost, etc 8 Stronger advantage in big key indicators .
developer / More cases
Millions of applications 、uni Monthly statistics 12 Billion 、70+ WeChat /qq Group 、 Higher Baidu Index
More perfect across ends , To really improve productivity
Platform capabilities are not limited
At the same time of crossing the ends , Compile... By condition + Platform specific API call , Can write personalized code for a platform gracefully , Call proprietary capabilities without affecting other platforms .
Support native code mixing and native sdk Integrate .
Excellent performance experience
Load new pages faster 、 Automatically diff Update data .
App The client supports native rendering , Support a smoother user experience .
The performance of the applet side is better than other frameworks in the market . evaluating
The surrounding ecology is rich
Plug in market Thousands of plug-ins .
Support NPM、 Support for applet components and SDK.
All kinds of wechat ecology sdk Can be used directly across platforms App.
The cost of learning is low
Based on the general front-end technology stack , use vue grammar + Wechat applet api, No additional learning costs .
Low development cost
Not just development costs , Recruitment 、 management 、 The cost of all aspects of testing has dropped dramatically .
HBuilderX It's an efficient development artifact , The R & D efficiency will at least double after mastering it ( Even if only one platform is developed ).
Get to the point
Click route to text , It can be converted in real time .
Mainly used plus.speech.startRecognize()
handleVoice() {
var options = { // Voice to text settings
engine: 'baidu'
};
console.log(' Start speech recognition :');
let _this = this; // stay plus.speech.startRecognize Inside this No Vue object , Can't get data. So we need to _this
plus.speech.startRecognize(options, function(s){ //plus.speech.startRecognize Official documents available
console.log(s);
_this.text += s;
}, function(e){
console.log(' Speech recognition failed :'+JSON.stringify(e));
} );
},
边栏推荐
- Solve the problem of "unable to open source file" xx.h "in the custom header file on vs from the source
- 【Hot100】34. Find the first and last positions of elements in a sorted array
- Notion 类笔记软件如何选择?Notion 、FlowUs 、Wolai 对比评测
- 程序员成长第八篇:做好测试工作
- 量价虽降,商业银行结构性存款为何受上市公司所偏爱?
- go map
- [深度学习论文笔记]使用多模态MR成像分割脑肿瘤的HNF-Netv2
- 【Hot100】33. Search rotation sort array
- 同事半个月都没搞懂selenium,我半个小时就给他整明白!顺手秀了一波爬淘宝的操作[通俗易懂]
- Huawei push service content, read notes
猜你喜欢
Binder通信过程及ServiceManager创建过程
[深度学习论文笔记]使用多模态MR成像分割脑肿瘤的HNF-Netv2
爱可生SQLe审核工具顺利完成信通院‘SQL质量管理平台分级能力’评测
Win10——轻量级小工具
龙芯派2代烧写PMON和重装系统
华为推送服务内容,阅读笔记
【每日一题】1200. 最小绝对差
Datapipeline was selected into the 2022 digital intelligence atlas and database development report of China Academy of communications and communications
What about data leakage? " Watson k'7 moves to eliminate security threats
Flutter draws animation effects of wave movement, curves and line graphs
随机推荐
Prefix, infix, suffix expression "recommended collection"
Laravel框架运行报错:No application encryption key has been specified
STM32 reverse entry
MMSeg——Mutli-view时序数据检查与可视化
Idea设置方法注释和类注释
Solve the problem of "unable to open source file" xx.h "in the custom header file on vs from the source
MySQL - database query - sort query, paging query
关于 Notion-Like 工具的反思和畅想
UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xe6 in position 76131: invalid continuation byt
Go pointer
How to realize batch sending when fishing
Lb10s-asemi rectifier bridge lb10s
AVC1与H264的区别
Clock cycle
"Baidu Cup" CTF competition in September, web:sql
【Hot100】34. Find the first and last positions of elements in a sorted array
Asemi rectifier bridge hd06 parameters, hd06 pictures, hd06 applications
Redis6 master-slave replication and clustering
APICloud Studio3 API管理与调试使用教程
SAE international strategic investment geometry partner