当前位置:网站首页>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 .
边栏推荐
- Kubernetes resource object introduction and common commands (III)
- Electronic technology 20th autumn "Introduction to machine manufacturing" online assignment 3 [standard answer]
- Thread pool: the most common and error prone component of business code
- Assembly instance analysis -- screen display in real mode
- 27. 输入3个整数,按从大到小的次序输出。要求用指针方法实现。
- 数仓任务里面 跑SQL任务的时候用的数据库账号是在哪里配置的
- 27. Input 3 integers and output them in descending order. Pointer method is required.
- HP 阵列卡排障一例
- 【RT-Thread】nxp rt10xx 设备驱动框架之--Pin搭建和使用
- Rsync远程同步
猜你喜欢
[RT thread] NXP rt10xx device driver framework -- pin construction and use
How do large consumer enterprises make digital transformation?
Analysis of variance summary
问题随记 —— 在 edge 上看视频会绿屏
【RT-Thread】nxp rt10xx 设备驱动框架之--Audio搭建和使用
新库上线 | CnOpenData中国保险机构网点全集数据
Unity notes unityxr simple to use
[error reporting] omp: error 15: initializing libiomp5md dll, but found libiomp5md. dll already initialized.
The largest matrix (H) in a brush 143 monotone stack 84 histogram
【RT-Thread】nxp rt10xx 设备驱动框架之--Pin搭建和使用
随机推荐
Atom QT 16_ audiorecorder
Leetcode13. Roman numeral to integer (three solutions)
Analysis of variance summary
Select 3 fcpx plug-ins. Come and see if you like them
What is the difference between cloud server and cloud virtual machine
Apache服务挂起Asynchronous AcceptEx failed.
RDS数据库的监测页面在哪看?
[combinatorial mathematics] recursive equation (example of recursive equation 2 Hanoi Tower | example of recursive equation 3 insertion sequencing)
Vs code plug-in korofileheader
网络硬盘NFS的安装与配置
Redis:关于列表List类型数据的操作命令
When absolutely positioned, the element is horizontally and vertically centered
Why is WPA3 security of enterprise business so important?
The largest matrix (H) in a brush 143 monotone stack 84 histogram
Kubernetes resource object introduction and common commands (III)
Kubernetes resource object introduction and common commands (4)
Define a structure fraction to represent a fraction, which is used to represent fractions such as 2/3 and 5/6
[combinatorics] recursive equation (the relationship theorem between the solution of the recursive equation and the characteristic root | the linear property theorem of the solution of the recursive e
New library online | cnopendata China bird watching record data
Online assignment 3 of mobile Internet technology in the 20th autumn of electronic technology [standard answer]