Go to file
aibin 1d00160e65 添加开鸿智谷License检查
Signed-off-by: aibin <aibin@openvalley.net>
2023-05-15 11:35:42 +08:00
.gitee 增加pr模板 2023-05-05 21:04:08 +08:00
code !2655 【Sample】增加Sensor自动化测试用例 2023-05-13 09:27:51 +00:00
common/JsHelloWorld IssueNo: #I71NE7:【Sample】下架JsDotTest和旧目录下的预置应用及元能力卡片 2023-05-09 17:16:32 +08:00
ETSUI/PatternLock IssueNo: #I6ZLU6:【Sample】添加build-profile.json5文件 2023-04-28 15:30:00 +08:00
Network/WebSocket IssueNo: #I6ZLU6:【Sample】添加build-profile.json5文件 2023-04-28 15:30:00 +08:00
UI IssueNo: #I6ZLU6:【Sample】添加build-profile.json5文件 2023-04-28 15:30:00 +08:00
.gitattributes update OpenHarmony 2.0 Canary 2021-06-02 12:34:30 +08:00
changelog.md modify changelog.md 2023-01-30 17:55:12 +08:00
CodeCommitChecklist.md IssueNo: #I6Z0K0:【sample】解决sample仓的无效链接 2023-04-26 13:44:54 +08:00
LICENSE update OpenHarmony 2.0 Canary 2021-06-02 12:34:30 +08:00
OAT.xml 添加开鸿智谷License检查 2023-05-15 11:35:42 +08:00
README_zh.md IssueNo: #I70IBN:【Sample】下架重复工程 2023-05-05 15:02:50 +08:00
README.md 修改根目录readme文件 2023-01-31 16:50:27 +08:00
releasenote.md modify readme 2022-09-27 09:28:01 +08:00
SampleReadTemplate.md IssueNo: #I6Z0K0:【sample】解决sample仓的无效链接 2023-04-26 13:44:54 +08:00

App Samples

Introduction

We provide a series of app samples to help you quickly get familiar with the APIs and app development process of the OpenHarmony SDKs. Each app sample is an independent project in DevEco Studio. You can import a project into DevEco Studio to learn how to use APIs in the sample by browsing code, building the project, and installing and running the app.

Content

Usage

  1. Import an independent app sample project into DevEco Studio for compilation, building, running, and debugging.
  2. Some samples contain multiple modules. You can compile and build a single module to generate a HAP file or compile and build the entire project to generate multiple HAP files.
  3. After HAP installation and execution, you can view the execution effect of the sample on the device and then conduct debugging.

Limitations

  1. Before installing and running the sample, check the deviceType field in the config.json file to obtain the device types supported by the sample. You can modify this field to enable the sample to run on your target device. The **config.json** file is generally stored in the **entry/src/main** directory, which may be different depending on the samples.
  2. If you want to run the app sample on OpenHarmony, configure the development environment by referring to DevEco Studio OpenHarmony User Guide.
  3. App samples that can run on standard-system or small-system devices (as stipulated in Readme) must run on OpenHarmony.