|
2 年 前 | |
---|---|---|
.. | ||
.idea | 2 年 前 | |
entry | 2 年 前 | |
resources | 2 年 前 | |
README_zh.md | 2 年 前 | |
build-profile.json5 | 2 年 前 | |
hvigorfile.js | 2 年 前 | |
package-lock.json | 2 年 前 | |
package.json | 2 年 前 | |
quick_develop.md | 2 年 前 |
TodoList应用是基于OpenHarmony SDK开发的安装在润和HiSpark Taurus AI Camera(Hi3516d)开发板上的应用;应用主要功能是以列表的形式,展示需要完成的日程;通过本demo可以学习到 JS UI 框架List使用;
OpenHarmony 3.0 LTS
以润和HiSpark Taurus AI Camera(Hi3516d)开发板套件为例
项目地址:https://gitee.com/openharmony-sig/knowledge_demo_smart_home/tree/master/FA/TodoList
1)git下载
git clone git@gitee.com:openharmony-sig/knowledge_demo_smart_home.git
2)项目导入
打开DevEco Studio,点击File->Open->下载路径FA/TodoList
安装应用
打开OpenHarmony SDK路径 \toolchains 文件夹下,执行如下hdc_std命令,其中path为hap包所在绝对路径。
hdc_std install -r path\entry-debug-standard-ark-signed.hap
PS环境准备,源码下载,编译,烧录设备,应用部署的完整步骤请参考这里
├─entry\src\main
│ │ config.json //应用配置文件
│ │
│ ├─js
│ │ └─MainAbility
│ │ │ app.js // 应用程序入口
│ │ │
│ │ ├─common // 公共资源
│ │ │ │ checkbutton.png
│ │ │ │ delete.png
│ │ │ │ done.png
│ │ │ │ head0.png
│ │ │ │ head1.png
│ │ │ │ head2.png
│ │ │ │ head3.png
│ │ │ │ head4.png
│ │ │ │ right.png
│ │ │ │
│ │ │ └─images
│ │ │ bg-tv.jpg
│ │ │ Wallpaper.png
│ │ │
│ │ ├─i18n // 多语言文件
│ │ │ en-US.json
│ │ │ zh-CN.json
│ │ │
│ │ └─pages
│ │ └─index
│ │ index.css //页面样式
│ │ index.hml //首页展示
│ │ index.js //页面逻辑
│ │
│ └─resources
│ ├─base
│ │ ├─element
│ │ │ string.json
│ │ │
│ │ └─media
│ │ icon.png
│ │
│ └─rawfile
hdc_std shell hilog > /C:\Users\china\Desktop\hilog.txt