当前位置:网站首页>Hongmeng fourth training
Hongmeng fourth training
2022-07-03 17:17:00 【Yi'an】
This development is mainly about the realization of the photographing function
Mainly used :
camera Components
There are... In the official documents :
The following is an example :
<!-- xxx.hml-->
<div class="container">
<camera flash="on" deviceposition="back" @error="cameraError">
</camera>
</div>
/* xxx.css */
.container {
display: flex;
justify-content: center;
align-items: center;
}
camera{
width: 300px;
height: 300px;
}
//xxx.js
import prompt from '@system.prompt';
export default {
data: {
title: 'World'
},
cameraError(){
prompt.showToast({
message: " privilege grant failed !"
});
}
}
In addition, there is the problem of real machine debugging
There are some previews that cannot be displayed , Remote real machine debugging ,
The step is to register + Sign in +
It is divided into local download and remote download
Then you can adjust the appropriate model .
边栏推荐
- 2021 ICPC regional competition (Shanghai) g.edge groups (tree DP)
- 新库上线 | CnOpenData中国保险机构网点全集数据
- Kubernetes resource object introduction and common commands (4)
- 设计电商秒杀
- Execute script unrecognized \r
- Define a structure fraction to represent a fraction, which is used to represent fractions such as 2/3 and 5/6
- 【Try to Hack】主动侦查隐藏技术
- 27. Input 3 integers and output them in descending order. Pointer method is required.
- Apache service suspended asynchronous acceptex failed
- A day's work list of an ordinary programmer
猜你喜欢
Atom QT 16_ audiorecorder
免费数据 | 新库上线 | CnOpenData中国保险中介机构网点全集数据
kubernetes资源对象介绍及常用命令(四)
POM in idea XML graying solution
29:第三章:开发通行证服务:12:开发【获得用户账户信息,接口】;(使用VO类包装查到的数据,以符合接口对返回数据的要求)(在多处都会用到的逻辑,在Controller中可以把其抽成一个共用方法)
Talk about several methods of interface optimization
Play with fancy special effects. This AE super kit is for you
Analysis of variance summary
Prepare for the golden three silver four, 100+ software test interview questions (function / interface / Automation) interview questions. win victory the moment one raises one 's standard
Cross border e-commerce: advantages of foreign trade enterprises in overseas social media marketing
随机推荐
One brush 146 force buckle hot question-3 longest substring without repeated characters (m)
Answer to the homework assessment of advanced English reading (II) of the course examination of Fuzhou Normal University in February 2022
Rsync远程同步
Redis: operation commands for list type data
匯編實例解析--實模式下屏幕顯示
Examination questions for the assignment of selected readings of British and American Literature in the course examination of Fujian Normal University in February 2022
[combinatorics] recursive equation (definition of general solution | structure theorem of general solution of recursive equation without multiple roots)
Execute script unrecognized \r
Depth first search of graph
Electronic technology 20th autumn "Introduction to machine manufacturing" online assignment 3 [standard answer]
AcWing 3438. 数制转换
Luogu: p2685 [tjoi2012] Bridge
Host based intrusion system IDS
C language string practice
Design e-commerce spike
聊聊接口优化的几个方法
鸿蒙第三次培训
Leetcode13. Roman numeral to integer (three solutions)
Great changes! National housing prices fell below the 10000 yuan mark
PHP online confusion encryption tutorial sharing + basically no solution